org.gcube.vremanagement.vremodeler.impl.util
Class ResourceManagerServiceHandler<T,P>

java.lang.Object
  extended by org.gcube.common.core.utils.handlers.GCUBEHandler<CLIENT>
      extended by org.gcube.common.core.utils.handlers.GCUBEServiceHandler<org.gcube.common.core.utils.handlers.GCUBEServiceClient>
          extended by org.gcube.vremanagement.vremodeler.impl.util.ResourceManagerServiceHandler<T,P>
All Implemented Interfaces:
org.gcube.common.core.utils.handlers.GCUBEIHandler<org.gcube.common.core.utils.handlers.GCUBEServiceClient>, org.gcube.common.core.utils.handlers.lifetime.Lifetime<org.gcube.common.core.utils.handlers.GCUBEServiceClient>

public abstract class ResourceManagerServiceHandler<T,P>
extends org.gcube.common.core.utils.handlers.GCUBEServiceHandler<org.gcube.common.core.utils.handlers.GCUBEServiceClient>


Nested Class Summary
 
Nested classes/interfaces inherited from class org.gcube.common.core.utils.handlers.GCUBEServiceHandler
org.gcube.common.core.utils.handlers.GCUBEServiceHandler.NoQueryResultException
 
Field Summary
 String relatedGhnId
           
 org.gcube.common.core.scope.GCUBEScope scope
           
protected  String usedhost
           
 
Fields inherited from class org.gcube.common.core.utils.handlers.GCUBEHandler
handled, logger, producer
 
Constructor Summary
ResourceManagerServiceHandler()
           
 
Method Summary
protected  List<org.apache.axis.message.addressing.EndpointReferenceType> findInstances()
           
protected  P getParameter()
           
 T getReturnValue()
           
protected  void interact(org.apache.axis.message.addressing.EndpointReferenceType epr)
           
protected abstract  T makeCall(org.gcube.vremanagement.resourcemanager.stubs.binder.ResourceBinderPortType rmPortType)
           
 void setParameter(P param)
           
protected  void setReturnValue(T returnValue)
           
 
Methods inherited from class org.gcube.common.core.utils.handlers.GCUBEServiceHandler
_interact, cacheEPR, clearCachedEPR, getAttempts, getCachedEPR, getCacheKey, getInstances, getTargetPortTypeName, run, setAttempts, tryInstances
 
Methods inherited from class org.gcube.common.core.utils.handlers.GCUBEHandler
clearBlackboard, getBlackboard, getHandled, getId, getLogger, getName, getScopeManager, getSecurityManager, getState, notify, setBlackboard, setHandled, setLogger, setName, setScopeManager, setSecurityManager, setState, subscribe, undo, unsubscribe
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.gcube.common.core.utils.handlers.lifetime.Lifetime
getState
 
Methods inherited from interface org.gcube.common.core.utils.handlers.GCUBEIHandler
clearBlackboard, getBlackboard, getHandled, getId, getLogger, getName, getScopeManager, getSecurityManager, setBlackboard, setHandled, setLogger, setName, setScopeManager, setSecurityManager, subscribe, undo, unsubscribe
 

Field Detail

usedhost

protected String usedhost

scope

public org.gcube.common.core.scope.GCUBEScope scope

relatedGhnId

public String relatedGhnId
Constructor Detail

ResourceManagerServiceHandler

public ResourceManagerServiceHandler()
Method Detail

getReturnValue

public T getReturnValue()

setParameter

public void setParameter(P param)

getParameter

protected P getParameter()

setReturnValue

protected void setReturnValue(T returnValue)

findInstances

protected List<org.apache.axis.message.addressing.EndpointReferenceType> findInstances()
                                                                                throws Exception
Specified by:
findInstances in class org.gcube.common.core.utils.handlers.GCUBEServiceHandler<org.gcube.common.core.utils.handlers.GCUBEServiceClient>
Throws:
Exception

makeCall

protected abstract T makeCall(org.gcube.vremanagement.resourcemanager.stubs.binder.ResourceBinderPortType rmPortType)
                       throws Exception
Throws:
Exception

interact

protected void interact(org.apache.axis.message.addressing.EndpointReferenceType epr)
                 throws Exception
Specified by:
interact in class org.gcube.common.core.utils.handlers.GCUBEServiceHandler<org.gcube.common.core.utils.handlers.GCUBEServiceClient>
Throws:
Exception


Copyright © 2013. All Rights Reserved.