This represents a lifecycle callback applied via aop the
<lifecycle-xxx>
bindings. For example:
<lifecycle-configure xmlns="urn:jboss:aop-beans:1.0"
name="ConfigureCallback"
class="org.jboss.example.ConfigureCallback"
classes="@org.jboss.example.Marker"
manager-bean="AspectManager"
manager-property="aspectManager">
</lifecycle-configure>
This represents a dependency on a
ControllerContext. These are
held within a ControllerContext's
DependencyInfo.
When the owning ControllerContext enters the state in
#getWhenRequired(), if the ControllerContext
of the lifecycle callback
we have a dependency on has not reached the state in
#getDependentState() the owning
ControllerContext
cannot proceed to the state in getWhenRequired()
.
When the owning ControllerContext
enters the getWhenRequired()
state on install the
#install(ControllerContext) method is called by the controller.
This will delegate to the
public void install(ControllerContext context)
method of the lifecycle callback bean implementation.
On uninstalling the owning ControllerContext
from the #getWhenRequired()
state, the
#uninstall(ControllerContext) method is called by the controller.
This will delegate to the
public void uninstall(ControllerContext context)
method of the lifecycle callback bean implementation.