public abstract class RICall.RICallHandler extends GCUBEServiceHandler<GCUBEServiceClientImpl>
GCUBEServiceHandler for embedding in RICalls.GCUBEServiceHandler.NoQueryResultExceptionhandled, logger, producer| Constructor and Description |
|---|
RICall.RICallHandler()
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
_interact(org.apache.axis.message.addressing.EndpointReferenceType epr)
Used internally to wrap
GCUBEServiceHandler.interact(EndpointReferenceType) and handle its successes and failures. |
protected List<org.apache.axis.message.addressing.EndpointReferenceType> |
findInstances()
Discovers EPRs to suitable instances of the target port-type.
|
protected org.apache.axis.message.addressing.EndpointReferenceType |
getCachedEPR()
Returns the EPR of the instance of the target port-type which was last cached.
|
GCUBEScopeManager |
getScopeManager()
Returns the scope manager of the handler.
|
protected String |
getTargetPortTypeName()
Returns the local name of the target port-type as the basis for a key to store 'successful'
EPRs of the port-type in the cache provided by the service client (cf.
|
cacheEPR, clearCachedEPR, getAttempts, getCacheKey, getInstances, interact, run, setAttempts, tryInstancesclearBlackboard, getBlackboard, getHandled, getId, getLogger, getName, getSecurityManager, getState, notify, setBlackboard, setHandled, setLogger, setName, setScopeManager, setSecurityManager, setState, subscribe, undo, unsubscribeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclearBlackboard, getBlackboard, getHandled, getId, getLogger, getName, getSecurityManager, setBlackboard, setHandled, setLogger, setName, setScopeManager, setSecurityManager, subscribe, undo, unsubscribeprotected void _interact(org.apache.axis.message.addressing.EndpointReferenceType epr)
throws Exception
GCUBEServiceHandler.interact(EndpointReferenceType) and handle its successes and failures.
GCUBEServiceHandler.interact(EndpointReferenceType) succeeds, it store the input EPR
in the handler's state. If GCUBEServiceHandler.interact(EndpointReferenceType) fails with a GCUBEFault,
it propagates the GCUBEException which models it most specifically._interact in class GCUBEServiceHandler<GCUBEServiceClientImpl>epr - the EPR of an instance of the target port-type.Exception - if the interaction fails to complete successfully.GCUBEServiceHandler.interact(EndpointReferenceType).protected org.apache.axis.message.addressing.EndpointReferenceType getCachedEPR()
getCachedEPR in class GCUBEServiceHandler<GCUBEServiceClientImpl>protected List<org.apache.axis.message.addressing.EndpointReferenceType> findInstances() throws Exception
findInstances in class GCUBEServiceHandler<GCUBEServiceClientImpl>Exception - if suitable instances cannot be found.public GCUBEScopeManager getScopeManager()
getScopeManager in interface GCUBEIHandler<GCUBEServiceClientImpl>getScopeManager in class GCUBEHandler<GCUBEServiceClientImpl>protected String getTargetPortTypeName()
GCUBEServiceHandler.getCacheKey()).
By default, it returns the name of handler (cf. GCUBEHandler.getName()), which will not grant EPR reuse
across any other handler type that may target the same port-type. Override and return a specific port-type name
to grant EPR reuse across all handler types that target the same port-type and share the same client.
getTargetPortTypeName in class GCUBEServiceHandler<GCUBEServiceClientImpl>#getName()},
#getCacheKey()}.Copyright © 2015. All Rights Reserved.