Class ComponentStartService

  • All Implemented Interfaces:
    org.jboss.msc.Service, org.jboss.msc.service.Service<Component>, org.jboss.msc.value.Value<Component>

    public final class ComponentStartService
    extends Object
    implements org.jboss.msc.service.Service<Component>
    Service wrapper for a Component which starts and stops the component instance.
    Author:
    John Bailey, David M. Lloyd
    • Constructor Detail

      • ComponentStartService

        public ComponentStartService()
    • Method Detail

      • start

        public void start​(org.jboss.msc.service.StartContext context)
                   throws org.jboss.msc.service.StartException
        Specified by:
        start in interface org.jboss.msc.Service
        Throws:
        org.jboss.msc.service.StartException
      • stop

        public void stop​(org.jboss.msc.service.StopContext context)
        Specified by:
        stop in interface org.jboss.msc.Service
      • getComponentInjector

        public org.jboss.msc.inject.Injector<BasicComponent> getComponentInjector()
        Get the component injector.
        Returns:
        the component injector
      • getExecutorInjector

        public org.jboss.msc.value.InjectedValue<ExecutorService> getExecutorInjector()