org.pentaho.platform.plugin.services.pluginmgr.servicemgr
Class AbstractServiceTypeManager

java.lang.Object
  extended by 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


Constructor Summary
AbstractServiceTypeManager()
           
 
Method Summary
 Object getServiceBean(String serviceId)
          Returns an instance of a registered servicing object.
 IServiceConfig getServiceConfig(String serviceId)
          Retrieves the config for a particular service
 void registerService(IServiceConfig wsConfig)
          Registers a service with this svc type manager
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.pentaho.platform.plugin.services.pluginmgr.servicemgr.IServiceTypeManager
getSupportedServiceType, initServices
 

Constructor Detail

AbstractServiceTypeManager

public AbstractServiceTypeManager()
Method Detail

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