Class AbstractEndpoint<S extends ADEPT2Service,W extends AbstractRootResourceWebService<S>>
java.lang.Object
de.aristaflow.ilm.ws.soap.base.service.AbstractEndpoint<S,W>
- Type Parameters:
S- TheADEPT2Servicewhich is exported as SOAP web service.W- TheAbstractRootResourceWebServicewhich transforms between web service calls and the corresponding Java API.
- Direct Known Subclasses:
LicenceManagerSoap,OrgModelManagerSoap
public abstract class AbstractEndpoint<S extends ADEPT2Service,W extends AbstractRootResourceWebService<S>>
extends Object
This class provides the basic means for a SOAP web service endpoint. It manages the original
service (
S) and the web service (W) that maps from the generic ILM to
the Java API, e. g. transforms the ILM objects to the Java model and back.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringGets the simple name of the service instance the SOAP request is for.protected LoggerGets the logger to be used by web service endpoint implementations.protected abstract LoggerGets the logger to be used by web service endpoint implementations for the service with the designated simple instance name.protected WGets the web service instance mapping from ILM to the Java API and back.protected abstract WgetWebService(String instName) Gets the web service instance mapping from ILM to the Java API and back for the service with the designated simple instance name.
-
Constructor Details
-
AbstractEndpoint
public AbstractEndpoint()
-
-
Method Details
-
getWebService
Gets the web service instance mapping from ILM to the Java API and back.- Returns:
- The web service instance mapping from ILM to the Java API and back.
-
getWebService
Gets the web service instance mapping from ILM to the Java API and back for the service with the designated simple instance name.- Parameters:
instName- The simple instance name of the service.- Returns:
- The web service instance mapping from ILM to the Java API and back for the service with the designated simple instance name.
-
getLogger
Gets the logger to be used by web service endpoint implementations.- Returns:
- The logger to be used by web service endpoint implementations.
-
getLogger
Gets the logger to be used by web service endpoint implementations for the service with the designated simple instance name.- Parameters:
instName- The simple instance name of the service.- Returns:
- The logger to be used by web service endpoint implementations for the service with the designated simple instance name.
-
getInstanceName
Gets the simple name of the service instance the SOAP request is for. This is determined by the URL of the request.- Returns:
- The simple name of the service instance the SOAP request is for.
-