Class AbstractServiceTypeManager

    • Field Detail

      • registeredServiceConfigs

        protected Collection<org.pentaho.platform.api.engine.IServiceConfig> registeredServiceConfigs
    • Constructor Detail

      • AbstractServiceTypeManager

        public AbstractServiceTypeManager()
    • Method Detail

      • registerService

        public void registerService​(org.pentaho.platform.api.engine.IServiceConfig wsConfig)
        Description copied from interface: IServiceTypeManager
        Registers a service with this svc type manager
        Specified by:
        registerService in interface IServiceTypeManager
        See Also:
        IServiceManager#registerService(IServiceConfig)
      • getServiceConfig

        public org.pentaho.platform.api.engine.IServiceConfig getServiceConfig​(String serviceId)
        Description copied from interface: IServiceTypeManager
        Retrieves the config for a particular service
        Specified by:
        getServiceConfig in interface IServiceTypeManager
        Returns:
        the config
      • getServiceBean

        public Object getServiceBean​(String serviceId)
                              throws org.pentaho.platform.api.engine.ServiceException
        Description copied from interface: IServiceTypeManager
        Returns an instance of a registered servicing object.
        Specified by:
        getServiceBean in interface IServiceTypeManager
        Parameters:
        serviceId - the unique id of the service
        Returns:
        an instance of the servicing object
        Throws:
        org.pentaho.platform.api.engine.ServiceException - if no service object can be found or there was a problem retrieving the service object