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 - The ADEPT2Service which is exported as SOAP web service.
W - The AbstractRootResourceWebService which 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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected String
    Gets the simple name of the service instance the SOAP request is for.
    protected Logger
    Gets the logger to be used by web service endpoint implementations.
    protected abstract Logger
    getLogger(String instName)
    Gets the logger to be used by web service endpoint implementations for the service with the designated simple instance name.
    protected W
    Gets the web service instance mapping from ILM to the Java API and back.
    protected abstract W
    Gets the web service instance mapping from ILM to the Java API and back for the service with the designated simple instance name.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • AbstractEndpoint

      public AbstractEndpoint()
  • Method Details

    • getWebService

      protected W 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

      protected abstract W getWebService(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.
      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

      protected Logger getLogger()
      Gets the logger to be used by web service endpoint implementations.
      Returns:
      The logger to be used by web service endpoint implementations.
    • getLogger

      protected abstract Logger getLogger(String instName)
      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

      protected String 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.