public final class ComponentStartService extends Object implements org.jboss.msc.service.Service<Component>
Component
which starts and stops the component instance.Constructor and Description |
---|
ComponentStartService() |
Modifier and Type | Method and Description |
---|---|
org.jboss.msc.inject.Injector<BasicComponent> |
getComponentInjector()
Get the component injector.
|
org.jboss.msc.value.InjectedValue<ExecutorService> |
getExecutorInjector() |
BasicComponent |
getValue() |
void |
start(org.jboss.msc.service.StartContext context) |
void |
stop(org.jboss.msc.service.StopContext context) |
public void start(org.jboss.msc.service.StartContext context) throws org.jboss.msc.service.StartException
start
in interface org.jboss.msc.service.Service<Component>
org.jboss.msc.service.StartException
public void stop(org.jboss.msc.service.StopContext context)
stop
in interface org.jboss.msc.service.Service<Component>
public BasicComponent getValue() throws IllegalStateException, IllegalArgumentException
getValue
in interface org.jboss.msc.value.Value<Component>
IllegalStateException
IllegalArgumentException
public org.jboss.msc.inject.Injector<BasicComponent> getComponentInjector()
public org.jboss.msc.value.InjectedValue<ExecutorService> getExecutorInjector()
Copyright © 2018 JBoss by Red Hat. All rights reserved.