|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface AggregatorSink
This interface must be implemented by a plugin for the AggregatorSource component of the aggregator and is generally type-specific to the message data being processed. It is a required parameter for any AggregatorSource. Also, for every AggregatorSource instance there can be only one connected AggregatorSink instance.
| Method Summary | |
|---|---|
void |
deliver(org.apache.axis.encoding.AnyContentType message,
AggregatorServiceGroupEntryResource context)
Should be called by an AggregatorSource to deliver a message with the assumption that the message data will be aggregated as its native type and into whatever data storage format is used by the underlying AggregatorSink class. |
AggregatorSource |
getSource()
Gets the AggregatorSource connected to this sink |
void |
initialize(java.lang.Object parameters)
Called to initialize any necessary state. |
void |
setSource(AggregatorSource source)
Sets the AggregatorSource connected to this sink |
void |
terminate()
Called to free resources used by the sink. |
| Method Detail |
|---|
void initialize(java.lang.Object parameters)
throws AggregatorException,
java.lang.Exception
AggregatorException
java.lang.Exceptionvoid terminate()
AggregatorSource getSource()
void setSource(AggregatorSource source)
void deliver(org.apache.axis.encoding.AnyContentType message,
AggregatorServiceGroupEntryResource context)
throws AggregatorException,
java.lang.Exception
AggregatorException
java.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||