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
public class AbstractStub<T> extends Object
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 Summary
Constructors Modifier Constructor Description protected
AbstractStub(T callback, LogService logService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected T
getCallback()
Gets the wrapped web service callback instance.protected Logger
getLogger()
Gets the logger to be used by the Java API stub.
-
-
-
Constructor Detail
-
AbstractStub
protected AbstractStub(T callback, LogService logService)
- Parameters:
callback
- The wrapped web service callback instance.logService
- The log service for creating class-specific loggers
-
-