Class AbstractStub<T>
java.lang.Object
de.aristaflow.ilm.ws.base.service.AbstractStub<T>
- Type Parameters:
T- The type of the web service callback instance to which calls of the Java API are forwarded.
- Direct Known Subclasses:
OrgPolicyScriptHandlerWebServiceStub
An abstract stub provides a specific Java API interface for a web service stub. It is used for
callbacks called by the BPM platform and forwarded via the corresponding communication
service/web service to the registered callback. Calls are therefore in the other direction than
the normal web service calls. That is, the Java API is converted to the ILM and then to the
appropriate web service backend.
Stubs are usually created when registering a callback. The corresponding callback object is a specific stub instance of the corresponding web service framework, e. g. REST or SOAP.
-
Constructor Details
-
AbstractStub
- Parameters:
callback- The wrapped web service callback instance.logService- The log service for creating class-specific loggers
-
-
Method Details
-
getCallback
Gets the wrapped web service callback instance.- Returns:
- The wrapped web service callback instance.
-
getLogger
Gets the logger to be used by the Java API stub.- Returns:
- The logger to be used by the Java API stub.
-