public interface AddonLifecycleProvider
Addon life-cycles such as start-up and shut-down.| Modifier and Type | Method and Description |
|---|---|
ControlType |
getControlType()
Return the
ControlType for this AddonLifecycleProvider instance. |
ServiceRegistry |
getServiceRegistry(Addon addon)
Get the service registry for the given
Addon. |
void |
initialize(Furnace furnace,
AddonRegistry registry,
Addon self)
Initialize the provider with artifacts required for
Addon startup. |
void |
postStartup(Addon addon)
Handle any post-startup tasks.
|
void |
preShutdown(Addon addon)
Handle any pre-shutdown tasks.
|
void |
start(Addon addon)
Start the given
Addon. |
void |
stop(Addon addon)
Stop the given
Addon. |
void initialize(Furnace furnace, AddonRegistry registry, Addon self) throws Exception
Addon startup.ExceptionServiceRegistry getServiceRegistry(Addon addon) throws Exception
Addon.Exceptionvoid postStartup(Addon addon) throws Exception
Exceptionvoid preShutdown(Addon addon) throws Exception
ExceptionControlType getControlType()
ControlType for this AddonLifecycleProvider instance.Copyright © 2013 JBoss by Red Hat. All Rights Reserved.