Interface IServiceTypeManager
-
- All Known Implementing Classes:
AbstractServiceTypeManager
,AxisWebServiceManager
,FileSystemAxisWebServiceManager
,GwtRpcServiceManager
public interface IServiceTypeManager
The platform's service manager,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.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method 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 serviceString
getSupportedServiceType()
Returns the service typevoid
initServices()
Performs any initialization this service type requiresvoid
registerService(org.pentaho.platform.api.engine.IServiceConfig wsDefinition)
Registers a service with this svc type manager
-
-
-
Method Detail
-
registerService
void registerService(org.pentaho.platform.api.engine.IServiceConfig wsDefinition) throws org.pentaho.platform.api.engine.ServiceException
Registers a service with this svc type manager- Throws:
org.pentaho.platform.api.engine.ServiceException
- See Also:
IServiceManager#registerService(IServiceConfig)
-
getServiceBean
Object getServiceBean(String serviceId) throws org.pentaho.platform.api.engine.ServiceException
Returns an instance of a registered servicing object.- Parameters:
serviceId
- the unique id of the service- Returns:
- an instance of the servicing object
- Throws:
org.pentaho.platform.api.engine.ServiceException
- if no service object can be found or there was a problem retrieving the service object
-
getSupportedServiceType
String getSupportedServiceType()
Returns the service type
-
initServices
void initServices() throws org.pentaho.platform.api.engine.ServiceInitializationException
Performs any initialization this service type requires- Throws:
org.pentaho.platform.api.engine.ServiceInitializationException
-
getServiceConfig
org.pentaho.platform.api.engine.IServiceConfig getServiceConfig(String serviceId)
Retrieves the config for a particular service- Parameters:
serviceId
-- Returns:
- the config
-
-