org.pentaho.platform.plugin.services.pluginmgr.servicemgr
Class AbstractServiceTypeManager
java.lang.Object
org.pentaho.platform.plugin.services.pluginmgr.servicemgr.AbstractServiceTypeManager
- All Implemented Interfaces:
- IServiceTypeManager
- Direct Known Subclasses:
- AxisWebServiceManager, GwtRpcServiceManager
public abstract class AbstractServiceTypeManager
- extends Object
- implements IServiceTypeManager
AbstractServiceTypeManager
public AbstractServiceTypeManager()
registerService
public void registerService(IServiceConfig wsConfig)
- Description copied from interface:
IServiceTypeManager
- Registers a service with this svc type manager
- Specified by:
registerService
in interface IServiceTypeManager
- See Also:
IServiceManager.registerService(IServiceConfig)
getServiceConfig
public IServiceConfig getServiceConfig(String serviceId)
- Description copied from interface:
IServiceTypeManager
- Retrieves the config for a particular service
- Specified by:
getServiceConfig
in interface IServiceTypeManager
- Returns:
- the config
getServiceBean
public Object getServiceBean(String serviceId)
throws ServiceException
- Description copied from interface:
IServiceTypeManager
- Returns an instance of a registered servicing object.
- Specified by:
getServiceBean
in interface IServiceTypeManager
- Parameters:
serviceId
- the unique id of the service
- Returns:
- an instance of the servicing object
- Throws:
ServiceException
- if no service object can be found or there was a problem retrieving the service object