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 of
IServiceManager
- Author:
- aaron
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetServiceBean
(String serviceType, String serviceId) org.pentaho.platform.api.engine.IServiceConfig
getServiceConfig
(String serviceType, String serviceId) void
void
registerService
(org.pentaho.platform.api.engine.IServiceConfig config) void
setServiceTypeManagers
(Collection<IServiceTypeManager> serviceTypeManagers)
-
Field Details
-
serviceManagerMap
-
-
Constructor Details
-
DefaultServiceManager
public DefaultServiceManager()
-
-
Method Details
-
setServiceTypeManagers
-
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
-