org.gcube.index.fulltextindexnode
Class Resource

java.lang.Object
  extended by org.gcube.common.core.utils.handlers.GCUBEServiceClientImpl
      extended by org.gcube.common.core.state.GCUBEStatefulResource<org.gcube.common.core.state.GCUBEWSResourceKey>
          extended by org.gcube.common.core.state.GCUBEWSResource
              extended by org.gcube.indexmanagement.common.IndexWSResource
                  extended by org.gcube.index.fulltextindexnode.Resource
All Implemented Interfaces:
org.gcube.common.core.utils.handlers.GCUBEServiceClient, org.globus.wsrf.PersistenceCallback, org.globus.wsrf.Resource, org.globus.wsrf.ResourceLifetime, org.globus.wsrf.ResourceProperties, org.globus.wsrf.TopicListAccessor

public class Resource
extends org.gcube.indexmanagement.common.IndexWSResource


Nested Class Summary
static class Resource.SupportedRelations
           
 
Nested classes/interfaces inherited from class org.gcube.indexmanagement.common.IndexWSResource
org.gcube.indexmanagement.common.IndexWSResource.DestructionMode
 
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
static String EQUALS
           
static String RP_CLUSTER_ID
           
static String RP_CONTENT_TYPE
           
static String RP_INDEX_FORMAT
           
static String RP_SUPPORTED_RELATIONS
           
protected static String[] RPNames
           
 
Fields inherited from class org.gcube.indexmanagement.common.IndexWSResource
bInitializing, destructionMode, initLock, namespace, propNames, RP_COLLECTION_ID, RP_CREATED, RP_FIELDS, RP_INDEX_ID, RP_INDEX_TYPE_NAME, RP_MODIFIED, topicRegistrar
 
Fields inherited from class org.gcube.common.core.state.GCUBEStatefulResource
uuidGen
 
Constructor Summary
Resource()
           
 
Method Summary
 String getClusterID()
           
 String getResourceKey()
           
protected  void initialise(Object... args)
           
 void onLoad(ObjectInputStream ois, boolean firstLoad)
           
 void onStore(ObjectOutputStream oos)
           
 void setSupportedRelations(String[] relations)
           
 
Methods inherited from class org.gcube.indexmanagement.common.IndexWSResource
addCollectionID, addField, createProperty, createProperty, createTopic, createTopic, filterFieldInfo, getCollectionID, getCreated, getDestructionMode, getFields, getIndexID, getIndexTypeName, getModified, getNamespace, getPropertyNames, initialise, isInitializing, isTopicRegistered, onResourceRemoval, publish, setCollectionID, setCreated, setDestructionMode, setFields, setIndexID, setIndexTypeName, setIsInitializing, setModified, store, waitUntilInitialized
 
Methods inherited from class org.gcube.common.core.state.GCUBEWSResource
getCurrentTime, getEPR, getPorttypeContext, getProperty, getPublisher, getResourcePropertySet, getServiceContext, getTerminationTime, getTopicList, getTopicNames, initialise, initialiseContainers, inScope, load, setPortTypeContext, setTerminationTime, unpublish
 
Methods inherited from class org.gcube.common.core.state.GCUBEStatefulResource
getID, getLock, getScheduledTasks, getScope, launchTask, onRemove, setID, setPersistenceDelegate, stopTask
 
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
 

Field Detail

EQUALS

public static final String EQUALS
See Also:
Constant Field Values

RP_CONTENT_TYPE

public static final String RP_CONTENT_TYPE
See Also:
Constant Field Values

RP_INDEX_FORMAT

public static final String RP_INDEX_FORMAT
See Also:
Constant Field Values

RP_SUPPORTED_RELATIONS

public static final String RP_SUPPORTED_RELATIONS
See Also:
Constant Field Values

RP_CLUSTER_ID

public static final String RP_CLUSTER_ID
See Also:
Constant Field Values

RPNames

protected static String[] RPNames
Constructor Detail

Resource

public Resource()
Method Detail

getResourceKey

public String getResourceKey()

initialise

protected void initialise(Object... args)
                   throws Exception
Specified by:
initialise in class org.gcube.common.core.state.GCUBEWSResource
Throws:
Exception

onLoad

public void onLoad(ObjectInputStream ois,
                   boolean firstLoad)
            throws Exception
Overrides:
onLoad in class org.gcube.indexmanagement.common.IndexWSResource
Throws:
Exception

onStore

public void onStore(ObjectOutputStream oos)
             throws Exception
Overrides:
onStore in class org.gcube.indexmanagement.common.IndexWSResource
Throws:
Exception

setSupportedRelations

public void setSupportedRelations(String[] relations)
                           throws Exception
Throws:
Exception

getClusterID

public String getClusterID()


Copyright © 2013. All Rights Reserved.