public abstract class AbstractServiceTypeManager extends Object implements IServiceTypeManager
Modifier and Type | Field and Description |
---|---|
protected Collection<IServiceConfig> |
registeredServiceConfigs |
protected Map<String,Class<?>> |
serviceClassMap |
protected Map<String,Object> |
serviceInstanceMap |
Constructor and Description |
---|
AbstractServiceTypeManager() |
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
|
void |
registerService(IServiceConfig wsConfig)
Registers a service with this svc type manager
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getSupportedServiceType, initServices
protected Collection<IServiceConfig> registeredServiceConfigs
public void registerService(IServiceConfig wsConfig)
IServiceTypeManager
registerService
in interface IServiceTypeManager
IServiceManager#registerService(IServiceConfig)
public IServiceConfig getServiceConfig(String serviceId)
IServiceTypeManager
getServiceConfig
in interface IServiceTypeManager
public Object getServiceBean(String serviceId) throws ServiceException
IServiceTypeManager
getServiceBean
in interface IServiceTypeManager
serviceId
- the unique id of the serviceServiceException
- if no service object can be found or there was a problem retrieving the service objectCopyright © 2002–2017 Pentaho Corporation. All rights reserved.