Package org.jboss.byteman.agent
Class HelperManager.LifecycleDetails
- java.lang.Object
-
- org.jboss.byteman.agent.HelperManager.LifecycleDetails
-
- Enclosing class:
- HelperManager
private static class HelperManager.LifecycleDetails extends java.lang.Object
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
Fields Modifier and Type Field Description java.lang.reflect.Method
activated
method called when helper is activatedjava.lang.reflect.Method
deactivated
method called when helper is deactivatedint
installCount
reference count for installed rules which employ this helper classjava.lang.reflect.Method
installed
method called when rule is installedboolean
installedTakesRule
flag true if installed takes a Rule argument false if it takes a String argumentjava.lang.Class<?>
lifecycleClass
the helper class whose lifecycle this record detailsHelperManager.LifecycleDetails
parent
daisy-chain link to the the first parent class which also requires lifecycle processing or null if there is no such parentjava.lang.reflect.Method
uninstalled
method called when rule is uninstalledboolean
uninstalledTakesRule
flag true if uninstalled takes a Rule argument false if it takes a String argument
-
Constructor Summary
Constructors Constructor Description LifecycleDetails(java.lang.Class<?> lifecycleClass, HelperManager.LifecycleDetails parent)
-
-
-
Field Detail
-
lifecycleClass
public java.lang.Class<?> lifecycleClass
the helper class whose lifecycle this record details
-
parent
public HelperManager.LifecycleDetails 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 installCount
reference count for installed rules which employ this helper class
-
activated
public java.lang.reflect.Method activated
method called when helper is activated
-
deactivated
public java.lang.reflect.Method deactivated
method called when helper is deactivated
-
installed
public java.lang.reflect.Method installed
method called when rule is installed
-
installedTakesRule
public boolean installedTakesRule
flag true if installed takes a Rule argument false if it takes a String argument
-
uninstalled
public java.lang.reflect.Method uninstalled
method called when rule is uninstalled
-
uninstalledTakesRule
public boolean uninstalledTakesRule
flag true if uninstalled takes a Rule argument false if it takes a String argument
-
-
Constructor Detail
-
LifecycleDetails
public LifecycleDetails(java.lang.Class<?> lifecycleClass, HelperManager.LifecycleDetails parent)
-
-