Class AbstractSubResourceWebService<T>
java.lang.Object
de.aristaflow.ilm.ws.base.service.AbstractSubResourceWebService<T>
- Type Parameters:
T- The type of the (sub) resource web service which is the (interface of the) corresponding (sub) service.
- Direct Known Subclasses:
AbstractRootResourceWebService,ActivityExecutionControlWebService,ActivityStartingWebService,ActivityTerminationWebService,AddDataTransformatorRemoteIteratorWebService,ClientAdministrationWebService,DelegationManagerWebService,ExecutionControlManagerWebService,GlobalSecurityManagerWebService,GlobalUserConfigurationWebService,IncWorklistsWebService,IncWorklistUpdateWebService,InstanceControlWebService,InstanceExecutionMonitorWebService,InstanceManagerWebService,ModelChangeOperationsWebService,ModelExplorerWebService,PolicyResolutionWebService,RemoteActivityStartingWebService,RemoteProgressMonitorWebService,RemoteRuntimeEnvironmentWebService,ResModelChangeOperationsWebService,ResModelExplorerWebService,ResModelExpressionEvaluationWebService,ServerStreamStringWebService,SynchronousActivityStartingWebService,TemplateManagerWebService,WorklistAdministrationWebService,WorklistUpdateManagerWebService
An abstract sub resource web service resembles
AbstractSubService, that is, an abstract implementation
providing some basic means for a web service for a (sub) resource. These usually correspond to
sub services which are part of a central service, e. g. GlobalSecurityManager for
OrgModelManager.
Sub resource web services are usually created by other web services. The specific implementation for the corresponding web service framework, e. g. REST or SOAP, retrieves the sub resources from the web service and wraps them but does not create instances of this class.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractSubResourceWebService(T service, AbstractSubResourceWebService<?> parent) Creates a new (sub) resource web service for the designated (sub) service using a log service, session factory provider and service URIs from the designated parent sub resource web service.protectedAbstractSubResourceWebService(T service, ServiceMetaData serviceMetaData) Creates a new (sub) resource web service for the designated (sub) service using the designated service meta data and creating a class-specific logger from it. -
Method Summary
Modifier and TypeMethodDescriptionprotected LoggerGets the logger to be used by the (sub) resource web service.Gets the log service for creating loggers for child sub resource web services.protected TGets the wrapped Java API (sub) service instance.Gets service meta data for creating sub resources.protected URI[]Gets the service URIs of the corresponding web service communication service.protected SessionFactoryGets the session factory for unmarshalling session tokens.voidshutdown()Shuts down this sub resource web service.
-
Constructor Details
-
AbstractSubResourceWebService
Creates a new (sub) resource web service for the designated (sub) service using a log service, session factory provider and service URIs from the designated parent sub resource web service.- Parameters:
service- The (sub) service wrapped by this (sub) resource web service.parent- The parent (sub) resource of this sub resource web service.
-
AbstractSubResourceWebService
Creates a new (sub) resource web service for the designated (sub) service using the designated service meta data and creating a class-specific logger from it.- Parameters:
service- The (sub) service wrapped by this (sub) resource web service.serviceMetaData- The service meta data for creating sub resources.
-
-
Method Details
-
getService
Gets the wrapped Java API (sub) service instance.- Returns:
- The wrapped Java API (sub) service instance.
-
getLogService
Gets the log service for creating loggers for child sub resource web services.- Returns:
- The log service for creating loggers for child sub resource web services.
-
getLogger
Gets the logger to be used by the (sub) resource web service.- Returns:
- The logger to be used by the (sub) resource web service.
-
getSessionFactory
Gets the session factory for unmarshalling session tokens.- Returns:
- The session factory for unmarshalling session tokens.
-
getServiceUris
Gets the service URIs of the corresponding web service communication service. This allows for creating session tokens with client session factories.- Returns:
- The service URIs of the corresponding web service communication service.
-
getServiceMetaData
Gets service meta data for creating sub resources.- Returns:
- service meta data for creating sub resources.
-
shutdown
public void shutdown()Shuts down this sub resource web service. This default implementation does nothing.
-