Package org.jboss.byteman.agent
Class HelperManager.LifecycleDetails
java.lang.Object
org.jboss.byteman.agent.HelperManager.LifecycleDetails
- Enclosing class:
HelperManager
a record of a specific helper class tracking the number of installed rules which reference it
and referencing a table detailing the lifecycle methods it implements
LifeCycleDetails are daisy-chained to ensure that lifecycle processing
associated with a superclass are performed automatically as part of a
given Helper class's lifecycle processing.
-
Field Summary
FieldsModifier and TypeFieldDescriptionmethod called when helper is activatedmethod called when helper is deactivatedint
reference count for installed rules which employ this helper classmethod called when rule is installedboolean
flag true if installed takes a Rule argument false if it takes a String argumentClass
<?> the helper class whose lifecycle this record detailsdaisy-chain link to the the first parent class which also requires lifecycle processing or null if there is no such parentmethod called when rule is uninstalledboolean
flag true if uninstalled takes a Rule argument false if it takes a String argument -
Constructor Summary
ConstructorsConstructorDescriptionLifecycleDetails
(Class<?> lifecycleClass, HelperManager.LifecycleDetails parent) -
Method Summary
-
Field Details
-
lifecycleClass
the helper class whose lifecycle this record details -
parent
daisy-chain link to the the first parent class which also requires lifecycle processing or null if there is no such parent -
installCount
public int installCountreference count for installed rules which employ this helper class -
activated
method called when helper is activated -
deactivated
method called when helper is deactivated -
installed
method called when rule is installed -
installedTakesRule
public boolean installedTakesRuleflag true if installed takes a Rule argument false if it takes a String argument -
uninstalled
method called when rule is uninstalled -
uninstalledTakesRule
public boolean uninstalledTakesRuleflag true if uninstalled takes a Rule argument false if it takes a String argument
-
-
Constructor Details
-
LifecycleDetails
-