org.gcube.opensearch.opensearchdatasource
Class OpenSearchDataSourceResourceHome

java.lang.Object
  extended by org.gcube.common.core.state.GCUBEResourceHome<org.globus.wsrf.ResourceKey,org.gcube.common.core.state.GCUBEWSResourceKey,org.gcube.common.core.state.GCUBEWSResource>
      extended by org.gcube.common.core.state.GCUBEWSHome
          extended by 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 Class Summary
 
Nested classes/interfaces inherited from class org.gcube.common.core.state.GCUBEResourceHome
org.gcube.common.core.state.GCUBEResourceHome.Mode
 
Field Summary
 
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
 
Constructor Summary
OpenSearchDataSourceResourceHome()
           
 
Method Summary
 org.gcube.common.core.contexts.GCUBEStatefulPortTypeContext getPortTypeContext()
           
protected  void onInitialisation()
           
protected  void onReady()
           
protected  boolean onRemove(org.gcube.common.core.state.GCUBEWSResource resource)
           
 void refreshCache()
           
 
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
 

Constructor Detail

OpenSearchDataSourceResourceHome

public OpenSearchDataSourceResourceHome()
Method Detail

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.