Class AbstractRootResourceWebService<T extends ADEPT2Service>
- java.lang.Object
-
- de.aristaflow.ilm.ws.base.service.AbstractSubResourceWebService<T>
-
- de.aristaflow.ilm.ws.base.service.AbstractRootResourceWebService<T>
-
- Type Parameters:
T
- The type of the root resource web service which is the (interface of the) corresponding service.
- Direct Known Subclasses:
AbstractRootResourceConfigurableWebService
,ExecutionLogManagerWebService
,GlobalProviderWebService
,LicenceManagerWebService
,OrgModelManagerWebService
,ProcessImageRendererWebService
,ProcessManagerWebService
,ResModelManagerWebService
,RuntimeManagerWebService
,RuntimeServiceWebService
,SimpleProcessImageRendererWebService
,WorklistManagerWebService
public class AbstractRootResourceWebService<T extends ADEPT2Service> extends AbstractSubResourceWebService<T>
An abstract root resource web service provides web service implementations forADEPT2Service
. Subclasses usually correspond to generic web services for a specificADEPT2Service
.- See Also:
ADEPT2Service
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractRootResourceWebService(T service, ServiceMetaData serviceMetaData)
Creates a new root resource web service for the designatedADEPT2Service
using a class-specific logger from the designated log service.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull @Valid ServiceRelease
getRelease()
@NotNull @Valid ServiceInstanceName
getServiceInstanceName()
@NotEmpty List<URI>
getUris()
@NotNull @Min(-1L) Long
ping()
-
Methods inherited from class de.aristaflow.ilm.ws.base.service.AbstractSubResourceWebService
getLogger, getLogService, getService, getServiceMetaData, getServiceUris, getSessionFactory, shutdown
-
-
-
-
Constructor Detail
-
AbstractRootResourceWebService
protected AbstractRootResourceWebService(T service, ServiceMetaData serviceMetaData)
Creates a new root resource web service for the designatedADEPT2Service
using a class-specific logger from the designated log service.- Parameters:
service
- TheADEPT2Service
wrapped by this root resource web service.serviceMetaData
- The service meta data for creating sub resources.
-
-
Method Detail
-
ping
@NotNull @Min(-1L) public @NotNull @Min(-1L) Long ping()
- See Also:
ADEPT2Service.ping()
-
getRelease
@NotNull @Valid public @NotNull @Valid ServiceRelease getRelease()
- See Also:
ADEPT2Service.getRelease()
-
getServiceInstanceName
@NotNull @Valid public @NotNull @Valid ServiceInstanceName getServiceInstanceName()
- See Also:
ADEPT2Service.getServiceInstanceName()
-
getUris
@NotEmpty public @NotEmpty List<URI> getUris()
- See Also:
ADEPT2Service.getURIs()
-
-