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.
|
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()
Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.