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 Details

  • Constructor Details

    • DefaultServiceManager

      public DefaultServiceManager()
  • Method Details

    • 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 interface org.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 interface org.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 interface org.pentaho.platform.api.engine.IServiceManager
    • initServices

      public void initServices() throws org.pentaho.platform.api.engine.ServiceInitializationException
      Specified by:
      initServices in interface org.pentaho.platform.api.engine.IServiceManager
      Throws:
      org.pentaho.platform.api.engine.ServiceInitializationException