Class 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
    • Constructor Detail

      • DefaultServiceManager

        public DefaultServiceManager()
    • Method Detail

      • 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