public abstract class AbstractServiceTypeManager extends Object implements IServiceTypeManager
Modifier and Type | Field and Description |
---|---|
protected Collection<org.pentaho.platform.api.engine.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.
|
org.pentaho.platform.api.engine.IServiceConfig |
getServiceConfig(String serviceId)
Retrieves the config for a particular service
|
void |
registerService(org.pentaho.platform.api.engine.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<org.pentaho.platform.api.engine.IServiceConfig> registeredServiceConfigs
public void registerService(org.pentaho.platform.api.engine.IServiceConfig wsConfig)
IServiceTypeManager
registerService
in interface IServiceTypeManager
IServiceManager#registerService(IServiceConfig)
public org.pentaho.platform.api.engine.IServiceConfig getServiceConfig(String serviceId)
IServiceTypeManager
getServiceConfig
in interface IServiceTypeManager
public Object getServiceBean(String serviceId) throws org.pentaho.platform.api.engine.ServiceException
IServiceTypeManager
getServiceBean
in interface IServiceTypeManager
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 objectCopyright © 2019 Hitachi Vantara. All rights reserved.