Uses of Class
org.jboss.byteman.agent.RuleScript
-
Packages that use RuleScript Package Description org.jboss.byteman.agent org.jboss.byteman.rule -
-
Uses of RuleScript in org.jboss.byteman.agent
Methods in org.jboss.byteman.agent that return RuleScript Modifier and Type Method Description RuleScript
ScriptRepository. addScript(RuleScript script)
add a rule script to the repository returning any existing script with the same name or null if no such script can be found.RuleScript
ScriptRepository. removeScript(String name)
remove a rule script from the repository by name returning the script if it is found or null if is not found.RuleScript
ScriptRepository. removeScript(RuleScript script)
remove a rule script from the repository returning the script if it is found or null if is not found.RuleScript
ScriptRepository. scriptForRuleName(String name)
locate a rule script with a given nameMethods in org.jboss.byteman.agent that return types with arguments of type RuleScript Modifier and Type Method Description List<RuleScript>
ScriptRepository. currentRules()
return a list containing all the currently installed rule scripts.List<RuleScript>
ScriptRepository. processScripts(String scriptText, String scriptFile)
Split the text of a script file into a list of individual rule scriptsList<RuleScript>
ScriptRepository. scriptsForClassName(String name)
return a list of all class scripts indexed using the supplied name.List<RuleScript>
ScriptRepository. scriptsForInterfaceName(String name)
return a list of all interface scripts indexed using the supplied name.Methods in org.jboss.byteman.agent with parameters of type RuleScript Modifier and Type Method Description RuleScript
ScriptRepository. addScript(RuleScript script)
add a rule script to the repository returning any existing script with the same name or null if no such script can be found.protected void
Transformer. dumpScript(RuleScript ruleScript)
RuleScript
ScriptRepository. removeScript(RuleScript script)
remove a rule script from the repository returning the script if it is found or null if is not found.byte[]
Transformer. transform(RuleScript ruleScript, ClassLoader loader, String className, byte[] targetClassBytes)
The routine which actually does the real bytecode transformation.Method parameters in org.jboss.byteman.agent with type arguments of type RuleScript Modifier and Type Method Description protected void
Retransformer. collectAffectedNames(List<RuleScript> ruleScripts, List<String> classList, List<String> interfaceList, List<String> superClassList, List<String> superInterfaceList)
Constructors in org.jboss.byteman.agent with parameters of type RuleScript Constructor Description TransformContext(Transformer transformer, RuleScript ruleScript, String triggerClassName, ClassLoader loader, HelperManager helperManager, AccessEnabler accessEnabler)
-
Uses of RuleScript in org.jboss.byteman.rule
Methods in org.jboss.byteman.rule with parameters of type RuleScript Modifier and Type Method Description static Rule
Rule. create(RuleScript ruleScript, ClassLoader loader, HelperManager helperManager, AccessEnabler accessEnabler)
-