Class LicenceManagerSoap
- java.lang.Object
-
- de.aristaflow.ilm.ws.soap.base.service.AbstractEndpoint<LicenceManager,LicenceManagerWebService>
-
- de.aristaflow.ilm.ws.soap.base.licensing.LicenceManagerSoap
-
- All Implemented Interfaces:
LicenceManager,Adept2Service
@SchemaValidation public class LicenceManagerSoap extends AbstractEndpoint<LicenceManager,LicenceManagerWebService> implements LicenceManager
-
-
Constructor Summary
Constructors Constructor Description LicenceManagerSoap()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static voidexportService(String simpleServiceName, LicenceManager delegate)Exports the service instance of the designated name and creates a web service for it using a logger from the designated log service.LicenceInformationgetLicenceInformation(SessionToken session)protected LoggergetLogger(String instName)Gets the logger to be used by web service endpoint implementations for the service with the designated simple instance name.ServiceReleasegetRelease()ServiceInstanceNamegetServiceInstanceName()List<URI>getUris()protected LicenceManagerWebServicegetWebService(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.static voidinit(de.aristaflow.adept2.base.communication.soap.SoapWsInitData initData)Initialises this SOAP web service endpoint with the designated initialisation data, that is used for all endpoint instances of this type.Longping()static voidunregisterService(String simpleServiceName)Unregisters the web service for the service with the designated instance name.-
Methods inherited from class de.aristaflow.ilm.ws.soap.base.service.AbstractEndpoint
getInstanceName, getLogger, getWebService
-
-
-
-
Method Detail
-
init
public static void init(de.aristaflow.adept2.base.communication.soap.SoapWsInitData initData)
Initialises this SOAP web service endpoint with the designated initialisation data, that is used for all endpoint instances of this type.- Parameters:
initData- The initialisation data used for all endpoint instances of this type.
-
exportService
public static void exportService(String simpleServiceName, LicenceManager delegate)
Exports the service instance of the designated name and creates a web service for it using a logger from the designated log service.- Parameters:
simpleServiceName- The simple name of the service which to export as SOAP web service.delegate- The service instance which to export as SOAP web service.
-
unregisterService
public static void unregisterService(String simpleServiceName)
Unregisters the web service for the service with the designated instance name.- Parameters:
simpleServiceName- The simple name of the service which to unregister as SOAP web service.
-
getWebService
protected LicenceManagerWebService getWebService(String instName)
Description copied from class:AbstractEndpointGets the web service instance mapping from ILM to the Java API and back for the service with the designated simple instance name.- Specified by:
getWebServicein classAbstractEndpoint<LicenceManager,LicenceManagerWebService>- 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(String instName)
Description copied from class:AbstractEndpointGets the logger to be used by web service endpoint implementations for the service with the designated simple instance name.- Specified by:
getLoggerin classAbstractEndpoint<LicenceManager,LicenceManagerWebService>- 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.
-
ping
public Long ping()
- Specified by:
pingin interfaceAdept2Service- See Also:
AbstractRootResourceWebService.ping()
-
getRelease
public ServiceRelease getRelease()
- Specified by:
getReleasein interfaceAdept2Service- See Also:
AbstractRootResourceWebService.getRelease()
-
getServiceInstanceName
public ServiceInstanceName getServiceInstanceName()
- Specified by:
getServiceInstanceNamein interfaceAdept2Service- See Also:
AbstractRootResourceWebService.getServiceInstanceName()
-
getUris
public List<URI> getUris()
- Specified by:
getUrisin interfaceAdept2Service- See Also:
de.aristaflow.ilm.ws.base.service.AbstractRootResourceWebService#getURIs()
-
getLicenceInformation
public LicenceInformation getLicenceInformation(SessionToken session) throws ParameterException
- Specified by:
getLicenceInformationin interfaceLicenceManager- Throws:
ParameterException- See Also:
LicenceManagerWebService.getLicenceInformation(SessionToken)
-
-