public interface IServiceTypeManager
IServiceManager
, may delegate the handling of particular types of services to
an implemention of this interface. Having service types handled by their own managers will allow us manage (e.g.
enable/disable) all services of a particular type.Modifier and Type | Method and Description |
---|---|
Object |
getServiceBean(String serviceId)
Returns an instance of a registered servicing object.
|
IServiceConfig |
getServiceConfig(String serviceId)
Retrieves the config for a particular service
|
String |
getSupportedServiceType()
Returns the service type
|
void |
initServices()
Performs any initialization this service type requires
|
void |
registerService(IServiceConfig wsDefinition)
Registers a service with this svc type manager
|
void registerService(IServiceConfig wsDefinition) throws ServiceException
ServiceException
IServiceManager#registerService(IServiceConfig)
Object getServiceBean(String serviceId) throws ServiceException
serviceId
- the unique id of the serviceServiceException
- if no service object can be found or there was a problem retrieving the service objectString getSupportedServiceType()
void initServices() throws ServiceInitializationException
ServiceInitializationException
IServiceConfig getServiceConfig(String serviceId)
serviceId
- Copyright © 2002–2017 Pentaho Corporation. All rights reserved.