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 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.LicenceInformation
getLicenceInformation(SessionToken session)
protected Logger
getLogger(String instName)
Gets the logger to be used by web service endpoint implementations for the service with the designated simple instance name.ServiceRelease
getRelease()
ServiceInstanceName
getServiceInstanceName()
List<URI>
getUris()
protected LicenceManagerWebService
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.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.Long
ping()
static void
unregisterService(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:AbstractEndpoint
Gets the web service instance mapping from ILM to the Java API and back for the service with the designated simple instance name.- Specified by:
getWebService
in 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:AbstractEndpoint
Gets the logger to be used by web service endpoint implementations for the service with the designated simple instance name.- Specified by:
getLogger
in 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:
ping
in interfaceAdept2Service
- See Also:
AbstractRootResourceWebService.ping()
-
getRelease
public ServiceRelease getRelease()
- Specified by:
getRelease
in interfaceAdept2Service
- See Also:
AbstractRootResourceWebService.getRelease()
-
getServiceInstanceName
public ServiceInstanceName getServiceInstanceName()
- Specified by:
getServiceInstanceName
in interfaceAdept2Service
- See Also:
AbstractRootResourceWebService.getServiceInstanceName()
-
getUris
public List<URI> getUris()
- Specified by:
getUris
in interfaceAdept2Service
- See Also:
de.aristaflow.ilm.ws.base.service.AbstractRootResourceWebService#getURIs()
-
getLicenceInformation
public LicenceInformation getLicenceInformation(SessionToken session) throws ParameterException
- Specified by:
getLicenceInformation
in interfaceLicenceManager
- Throws:
ParameterException
- See Also:
LicenceManagerWebService.getLicenceInformation(SessionToken)
-
-