Sonic ESB API

com.sonicsw.xq
Interface XQAccessor


public interface XQAccessor

Implementations of the XQAccessor interface provide the ability to extract data from named targets from within the service. Examples of common targets are the XQMessage and XQPart.


Method Summary
 void init(XQInitContext context)
          performs any initialization tasks for the acessor.
 java.lang.Object invoke(java.lang.String expression, java.util.HashMap targets)
          performs the data acquisition
 

Method Detail

init

void init(XQInitContext context)
performs any initialization tasks for the acessor.

Parameters:
context - contains configuration params and log reference

invoke

java.lang.Object invoke(java.lang.String expression,
                        java.util.HashMap targets)
                        throws XQAccessorException
performs the data acquisition

Parameters:
expression - the instruction to perform
targets - the objects containing the data
Returns:
the object taken out of the targets
Throws:
XQAccessorException - thrown when an unexpected error occurs during invocation

Sonic ESB API

Copyright © 2001-2012 Progress Software Corporation. All Rights Reserved.
HTML formatted on 13-Mar-2012.