org.gcube.opensearch.opensearchdatasource
Class OpenSearchDataSourceResourceHome
java.lang.Object
org.gcube.common.core.state.GCUBEResourceHome<org.globus.wsrf.ResourceKey,org.gcube.common.core.state.GCUBEWSResourceKey,org.gcube.common.core.state.GCUBEWSResource>
org.gcube.common.core.state.GCUBEWSHome
org.gcube.opensearch.opensearchdatasource.OpenSearchDataSourceResourceHome
- All Implemented Interfaces:
- org.globus.wsrf.jndi.Initializable, org.globus.wsrf.ResourceHome
public class OpenSearchDataSourceResourceHome
- extends org.gcube.common.core.state.GCUBEWSHome
In charge of creating and retrieving OpenSearchResource instances. The "ResourceHome" entity according to the factory pattern.
- Author:
- gerasimos.farantatos, NKUA
| Nested classes/interfaces inherited from class org.gcube.common.core.state.GCUBEResourceHome |
org.gcube.common.core.state.GCUBEResourceHome.Mode |
| Fields inherited from class org.gcube.common.core.state.GCUBEWSHome |
keyTypeName, sweeperScheduler |
| Fields inherited from class org.gcube.common.core.state.GCUBEResourceHome |
cache, lockManager, logger, mode, persistenceDelegate, resourceClass, resourceLog |
| Methods inherited from class org.gcube.common.core.state.GCUBEWSHome |
create, create, find, find, get, getKeyTypeClass, getKeyTypeName, getServiceContext, getSweeperDelay, onFailure, onLoad, onReuse, postInitialise, preInitialise, remove, reuse, setKeyName, setSweeperDelay |
| Methods inherited from class org.gcube.common.core.state.GCUBEResourceHome |
add, createInternal, getIdentifiers, getResourceClass, getResources, initialize, newInstance, onStateChange, onUpdate, remove, setCacheTimeout, setPersistenceDelegateClass, setResourceClass |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OpenSearchDataSourceResourceHome
public OpenSearchDataSourceResourceHome()
getPortTypeContext
public org.gcube.common.core.contexts.GCUBEStatefulPortTypeContext getPortTypeContext()
- Specified by:
getPortTypeContext in class org.gcube.common.core.state.GCUBEWSHome
onRemove
protected boolean onRemove(org.gcube.common.core.state.GCUBEWSResource resource)
throws org.globus.wsrf.ResourceException
- Overrides:
onRemove in class org.gcube.common.core.state.GCUBEWSHome
- Throws:
org.globus.wsrf.ResourceException
onInitialisation
protected void onInitialisation()
throws Exception
- Overrides:
onInitialisation in class org.gcube.common.core.state.GCUBEWSHome
- Throws:
Exception
onReady
protected void onReady()
throws Exception
- Overrides:
onReady in class org.gcube.common.core.state.GCUBEWSHome
- Throws:
Exception
refreshCache
public void refreshCache()
Copyright © 2013. All Rights Reserved.