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. |
EventManager |
getEventManager(Addon addon)
Get the
EventManager for the given Addon |
ServiceRegistry |
getServiceRegistry(Addon addon)
Get the
ServiceRegistry 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
ServiceRegistry for the given Addon.ExceptionEventManager getEventManager(Addon addon) throws Exception
EventManager for the given AddonExceptionvoid postStartup(Addon addon) throws Exception
Exceptionvoid preShutdown(Addon addon) throws Exception
ExceptionControlType getControlType()
ControlType for this AddonLifecycleProvider instance.Copyright © 2014 JBoss by Red Hat. All rights reserved.