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.
|
org.pentaho.platform.api.engine.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(org.pentaho.platform.api.engine.IServiceConfig wsDefinition)
Registers a service with this svc type manager
|
void registerService(org.pentaho.platform.api.engine.IServiceConfig wsDefinition) throws org.pentaho.platform.api.engine.ServiceException
org.pentaho.platform.api.engine.ServiceException
IServiceManager#registerService(IServiceConfig)
Object getServiceBean(String serviceId) throws org.pentaho.platform.api.engine.ServiceException
serviceId
- the unique id of the serviceorg.pentaho.platform.api.engine.ServiceException
- if no service object can be found or there was a problem retrieving the service objectString getSupportedServiceType()
void initServices() throws org.pentaho.platform.api.engine.ServiceInitializationException
org.pentaho.platform.api.engine.ServiceInitializationException
org.pentaho.platform.api.engine.IServiceConfig getServiceConfig(String serviceId)
serviceId
- Copyright © 2019 Hitachi Vantara. All rights reserved.