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.Serviceorg.jboss.msc.service.StartExceptionpublic void stop(org.jboss.msc.service.StopContext context)
stop in interface org.jboss.msc.Servicepublic BasicComponent getValue() throws IllegalStateException, IllegalArgumentException
getValue in interface org.jboss.msc.value.Value<Component>IllegalStateExceptionIllegalArgumentExceptionpublic org.jboss.msc.inject.Injector<BasicComponent> getComponentInjector()
public org.jboss.msc.value.InjectedValue<ExecutorService> getExecutorInjector()
Copyright © 2020 JBoss by Red Hat. All rights reserved.