public abstract class AccessorResource extends org.gcube.common.core.state.GCUBEWSLiteResource<SourceResource> implements org.gcube.data.tmf.api.SourceConsumer
| Modifier and Type | Field and Description |
|---|---|
protected static int |
PART_SIZE |
| Constructor and Description |
|---|
AccessorResource() |
| Modifier and Type | Method and Description |
|---|---|
Long |
getCardinality()
Returns the cardinality of the source.
|
Calendar |
getLastUpdate()
Returns the time in which the collection was last updated.
|
String |
getName()
Returns the source identifier.
|
String |
getPlugin()
Returns the name of the associated plugin.
|
org.gcube.common.core.types.DescriptiveProperty[] |
getProperty()
Returns the descriptive properties of the resource.
|
protected String[] |
getPropertyNames() |
String |
getSourceId()
Returns the source identifier.
|
QName[] |
getType()
Returns the data type of the resource.
|
protected void |
initialise(Object... params) |
protected void |
initialiseContainers() |
void |
onEvent(org.gcube.data.tmf.api.SourceEvent... events) |
protected void |
subscribeForChange() |
getLocalID, getLocalResource, getProperty, initialise, onRemove, setLocalID, transformParamsgetCurrentTime, getEPR, getPorttypeContext, getPublisher, getResourcePropertySet, getServiceContext, getTerminationTime, getTopicList, getTopicNames, inScope, load, publish, setPortTypeContext, setTerminationTime, unpublishgetID, getLock, getScheduledTasks, getScope, launchTask, setID, setPersistenceDelegate, stopTask, storegetPortTypeMap, setPortTypeMapprotected static final int PART_SIZE
protected void initialise(Object... params) throws Exception
initialise in class org.gcube.common.core.state.GCUBEWSResourceExceptionprotected String[] getPropertyNames()
getPropertyNames in class org.gcube.common.core.state.GCUBEWSLiteResource<SourceResource>protected void initialiseContainers()
throws Exception
initialiseContainers in class org.gcube.common.core.state.GCUBEWSResourceExceptionpublic String getPlugin() throws org.globus.wsrf.ResourceException
org.globus.wsrf.ResourceExceptionpublic String getSourceId() throws org.globus.wsrf.ResourceException
org.globus.wsrf.ResourceExceptionpublic String getName() throws org.globus.wsrf.ResourceException
org.globus.wsrf.ResourceExceptionpublic Long getCardinality() throws org.globus.wsrf.ResourceException
org.globus.wsrf.ResourceExceptionpublic Calendar getLastUpdate() throws org.globus.wsrf.ResourceException
org.globus.wsrf.ResourceExceptionpublic QName[] getType() throws org.globus.wsrf.ResourceException
org.globus.wsrf.ResourceExceptionpublic org.gcube.common.core.types.DescriptiveProperty[] getProperty()
throws org.globus.wsrf.ResourceException
org.globus.wsrf.ResourceExceptionprotected void subscribeForChange()
throws org.globus.wsrf.ResourceException
org.globus.wsrf.ResourceExceptionpublic void onEvent(org.gcube.data.tmf.api.SourceEvent... events)
onEvent in interface org.gcube.data.tmf.api.SourceConsumerCopyright © 2014. All Rights Reserved.