|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gcube.common.core.utils.handlers.GCUBEServiceClientImpl
org.gcube.common.core.state.GCUBEStatefulResource<org.gcube.common.core.state.GCUBEWSResourceKey>
org.gcube.common.core.state.GCUBEWSResource
org.gcube.common.core.state.GCUBEWSLiteResource<SourceResource>
org.gcube.data.tm.state.AccessorResource
public abstract class AccessorResource
Base class for stateful resources of T-Reader and T-Writer services.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.gcube.common.core.state.GCUBEStatefulResource |
|---|
org.gcube.common.core.state.GCUBEStatefulResource.LOCK, org.gcube.common.core.state.GCUBEStatefulResource.TaskContext |
| Field Summary | |
|---|---|
protected static int |
PART_SIZE
|
| Fields inherited from class org.gcube.common.core.state.GCUBEStatefulResource |
|---|
logger, uuidGen |
| Constructor Summary | |
|---|---|
AccessorResource()
|
|
| Method Summary | |
|---|---|
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()
|
| Methods inherited from class org.gcube.common.core.state.GCUBEWSLiteResource |
|---|
getLocalID, getLocalResource, getProperty, initialise, onRemove, setLocalID, transformParams |
| Methods inherited from class org.gcube.common.core.state.GCUBEWSResource |
|---|
getCurrentTime, getEPR, getPorttypeContext, getPublisher, getResourcePropertySet, getServiceContext, getTerminationTime, getTopicList, getTopicNames, inScope, load, publish, setPortTypeContext, setTerminationTime, unpublish |
| Methods inherited from class org.gcube.common.core.state.GCUBEStatefulResource |
|---|
getID, getLock, getScheduledTasks, getScope, launchTask, setID, setPersistenceDelegate, stopTask, store |
| Methods inherited from class org.gcube.common.core.utils.handlers.GCUBEServiceClientImpl |
|---|
getPortTypeMap, setPortTypeMap |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.globus.wsrf.PersistenceCallback |
|---|
store |
| Field Detail |
|---|
protected static final int PART_SIZE
| Constructor Detail |
|---|
public AccessorResource()
| Method Detail |
|---|
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.GCUBEWSResourceException
public String getPlugin()
throws org.globus.wsrf.ResourceException
org.globus.wsrf.ResourceException
public String getSourceId()
throws org.globus.wsrf.ResourceException
org.globus.wsrf.ResourceException
public String getName()
throws org.globus.wsrf.ResourceException
org.globus.wsrf.ResourceException
public Long getCardinality()
throws org.globus.wsrf.ResourceException
org.globus.wsrf.ResourceException
public Calendar getLastUpdate()
throws org.globus.wsrf.ResourceException
org.globus.wsrf.ResourceException
public QName[] getType()
throws org.globus.wsrf.ResourceException
org.globus.wsrf.ResourceException
public org.gcube.common.core.types.DescriptiveProperty[] getProperty()
throws org.globus.wsrf.ResourceException
org.globus.wsrf.ResourceException
protected 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.SourceConsumer
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||