public class AggregatorRegisteredResource extends org.globus.mds.aggregator.impl.AggregatorServiceGroupResource implements org.globus.mds.aggregator.impl.AggregatorSink, ICRegisteredResource
| Modifier and Type | Field and Description |
|---|---|
static javax.xml.namespace.QName |
RP_SET |
| Constructor and Description |
|---|
AggregatorRegisteredResource()
Builds a new resource
|
| Modifier and Type | Method and Description |
|---|---|
void |
deliver(org.apache.axis.encoding.AnyContentType messageObj,
org.globus.mds.aggregator.impl.AggregatorServiceGroupEntryResource entry)
Takes delivery of a message from an AggregatorSource.
|
java.util.Calendar |
getCurrentTime() |
org.globus.wsrf.ResourceKey |
getResourceKey() |
org.globus.mds.aggregator.impl.AggregatorSource |
getSource()
Gets the AggregatorSource connected to this sink
|
java.util.Calendar |
getTerminationTime() |
org.globus.wsrf.TopicList |
getTopicList() |
void |
initialize(java.lang.Object parameters)
Called to initialize any necessary state.
|
void |
remove()
Callback method invoked when the resource is removed by the Aggregator Framework
|
void |
setResourceKey(org.globus.wsrf.ResourceKey k)
Used to inform the resource of its key.
|
void |
setSource(org.globus.mds.aggregator.impl.AggregatorSource source)
Sets the AggregatorSource connected to this sink
|
void |
setTerminationTime(java.util.Calendar time)
Sets the termination time
|
void |
terminate()
Called to free resources used by the sink.
|
addAggregatorSource, getConfiguration, getKey, getResourcePropertySet, iterateEntryKeys, iterateEntryValues, loadCompatibleSources, notifyChange, serviceGroupAdd, setVersionpublic AggregatorRegisteredResource()
public void setResourceKey(org.globus.wsrf.ResourceKey k)
throws java.lang.Exception
k - the resource keyjava.lang.Exception - if the resource key is already setpublic org.globus.wsrf.ResourceKey getResourceKey()
public void setTerminationTime(java.util.Calendar time)
setTerminationTime in interface org.globus.wsrf.ResourceLifetimetime - the new termination timepublic java.util.Calendar getTerminationTime()
getTerminationTime in interface org.globus.wsrf.ResourceLifetimepublic java.util.Calendar getCurrentTime()
getCurrentTime in interface org.globus.wsrf.ResourceLifetimepublic org.globus.wsrf.TopicList getTopicList()
getTopicList in interface org.globus.wsrf.TopicListAccessorpublic void deliver(org.apache.axis.encoding.AnyContentType messageObj,
org.globus.mds.aggregator.impl.AggregatorServiceGroupEntryResource entry)
deliver in interface org.globus.mds.aggregator.impl.AggregatorSinkmessageObj - the message contententry - the related service group entrypublic void initialize(java.lang.Object parameters)
initialize in interface org.globus.mds.aggregator.impl.AggregatorSinkparameters - any initialization parameters (not used)public void setSource(org.globus.mds.aggregator.impl.AggregatorSource source)
setSource in interface org.globus.mds.aggregator.impl.AggregatorSinksource - the sourcepublic org.globus.mds.aggregator.impl.AggregatorSource getSource()
getSource in interface org.globus.mds.aggregator.impl.AggregatorSinkpublic void terminate()
terminate in interface org.globus.mds.aggregator.impl.AggregatorSinkpublic void remove()