CLIENT - the type of the handled object. It must implement the GCUBEServiceClient interface.public abstract class GCUBEStatefulServiceHandler<CLIENT extends GCUBEServiceClient> extends GCUBEServiceHandler<CLIENT>
GCUBEServiceHandler to stateful service port-types
which follow WSRF's implied resource access pattern.
Subclasses must implement the abstract method findWSResources(), to interact
with WS-Resources produced by instances of the stateful port-type :
GCUBEServiceHandler.NoQueryResultExceptionhandled, logger, producer| Constructor and Description |
|---|
GCUBEStatefulServiceHandler()
Creates an instance.
|
GCUBEStatefulServiceHandler(CLIENT client)
Creates an instance to act on or on behalf of a service client.
|
| Modifier and Type | Method and Description |
|---|---|
protected List<org.apache.axis.message.addressing.EndpointReferenceType> |
findInstances()
Discovers EPRs to suitable instances of the target port-type.
|
protected abstract List<RPDocument> |
findWSResources()
Discovers suitable WS-Resources of the target port-type.
|
_interact, cacheEPR, clearCachedEPR, getAttempts, getCachedEPR, getCacheKey, getInstances, getTargetPortTypeName, interact, run, setAttempts, tryInstancesclearBlackboard, getBlackboard, getHandled, getId, getLogger, getName, getScopeManager, 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, getScopeManager, getSecurityManager, setBlackboard, setHandled, setLogger, setName, setScopeManager, setSecurityManager, subscribe, undo, unsubscribepublic GCUBEStatefulServiceHandler()
public GCUBEStatefulServiceHandler(CLIENT client)
client - the client.protected final List<org.apache.axis.message.addressing.EndpointReferenceType> findInstances() throws Exception
findInstances in class GCUBEServiceHandler<CLIENT extends GCUBEServiceClient>Exception - if suitable instances cannot be found.protected abstract List<RPDocument> findWSResources() throws Exception
Exception - if suitable instances cannot be found.Copyright © 2015. All Rights Reserved.