Class DefaultServiceManager
- java.lang.Object
-
- org.pentaho.platform.plugin.services.pluginmgr.servicemgr.DefaultServiceManager
-
- All Implemented Interfaces:
org.pentaho.platform.api.engine.IServiceManager
public class DefaultServiceManager extends Object implements org.pentaho.platform.api.engine.IServiceManager
The default implementation ofIServiceManager
- Author:
- aaron
-
-
Field Summary
Fields Modifier and Type Field Description Map<String,IServiceTypeManager>
serviceManagerMap
-
Constructor Summary
Constructors Constructor Description DefaultServiceManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
getServiceBean(String serviceType, String serviceId)
org.pentaho.platform.api.engine.IServiceConfig
getServiceConfig(String serviceType, String serviceId)
void
initServices()
void
registerService(org.pentaho.platform.api.engine.IServiceConfig config)
void
setServiceTypeManagers(Collection<IServiceTypeManager> serviceTypeManagers)
-
-
-
Field Detail
-
serviceManagerMap
public Map<String,IServiceTypeManager> serviceManagerMap
-
-
Method Detail
-
setServiceTypeManagers
public void setServiceTypeManagers(Collection<IServiceTypeManager> serviceTypeManagers)
-
registerService
public void registerService(org.pentaho.platform.api.engine.IServiceConfig config) throws org.pentaho.platform.api.engine.ServiceException
- Specified by:
registerService
in interfaceorg.pentaho.platform.api.engine.IServiceManager
- Throws:
org.pentaho.platform.api.engine.ServiceException
-
getServiceBean
public Object getServiceBean(String serviceType, String serviceId) throws org.pentaho.platform.api.engine.ServiceException
- Specified by:
getServiceBean
in interfaceorg.pentaho.platform.api.engine.IServiceManager
- Throws:
org.pentaho.platform.api.engine.ServiceException
-
getServiceConfig
public org.pentaho.platform.api.engine.IServiceConfig getServiceConfig(String serviceType, String serviceId)
- Specified by:
getServiceConfig
in interfaceorg.pentaho.platform.api.engine.IServiceManager
-
initServices
public void initServices() throws org.pentaho.platform.api.engine.ServiceInitializationException
- Specified by:
initServices
in interfaceorg.pentaho.platform.api.engine.IServiceManager
- Throws:
org.pentaho.platform.api.engine.ServiceInitializationException
-
-