Uses of Class
org.jboss.byteman.agent.RuleScript
-
Packages that use RuleScript Package Description org.jboss.byteman.agent org.jboss.byteman.agent.adapter org.jboss.byteman.check org.jboss.byteman.rule -
-
Uses of RuleScript in org.jboss.byteman.agent
Fields in org.jboss.byteman.agent declared as RuleScript Modifier and Type Field Description private RuleScript
TransformContext. ruleScript
Fields in org.jboss.byteman.agent with type parameters of type RuleScript Modifier and Type Field Description private java.util.Map<java.lang.String,RuleScript>
ScriptRepository. ruleNameIndex
a 1-m mapping from rule names which appear in rules to a script object holding the rule detailsprivate java.util.Map<java.lang.String,java.util.List<RuleScript>>
ScriptRepository. targetClassIndex
a 1-1 mapping from target class names which appear in rules to a script object holding the rule detailsprivate java.util.Map<java.lang.String,java.util.List<RuleScript>>
ScriptRepository. targetInterfaceIndex
a 1-m mapping from target interface names which appear in rules to a script object holding the rule detailsMethods 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(java.lang.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(java.lang.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 java.util.List<RuleScript>
ScriptRepository. currentRules()
return a list containing all the currently installed rule scripts.java.util.List<RuleScript>
ScriptRepository. processScripts(java.lang.String scriptText, java.lang.String scriptFile)
Split the text of a script file into a list of individual rule scriptsjava.util.List<RuleScript>
ScriptRepository. scriptsForClassName(java.lang.String name)
return a list of all class scripts indexed using the supplied name.java.util.List<RuleScript>
ScriptRepository. scriptsForInterfaceName(java.lang.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 private void
ScriptRepository. add(java.util.List<RuleScript> entries, RuleScript script)
add a rule script to start or end of the index list according to its location type.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)
private void
ScriptRepository. indexTarget(RuleScript script, java.util.Map<java.lang.String,java.util.List<RuleScript>> index)
insert a script into the index using the script target class name as the index key.private void
ScriptRepository. reindexTarget(RuleScript script, RuleScript previous, java.util.Map<java.lang.String,java.util.List<RuleScript>> index)
replace a script in the index using the script target class name as the index key.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, java.lang.ClassLoader loader, java.lang.String className, byte[] targetClassBytes)
The routine which actually does the real bytecode transformation.private void
ScriptRepository. unindexTarget(RuleScript script, java.util.Map<java.lang.String,java.util.List<RuleScript>> index)
remove a script from the index using the script target class name as the index key.Method parameters in org.jboss.byteman.agent with type arguments of type RuleScript Modifier and Type Method Description private void
ScriptRepository. add(java.util.List<RuleScript> entries, RuleScript script)
add a rule script to start or end of the index list according to its location type.protected void
Retransformer. collectAffectedNames(java.util.List<RuleScript> ruleScripts, java.util.List<java.lang.String> classList, java.util.List<java.lang.String> interfaceList, java.util.List<java.lang.String> superClassList, java.util.List<java.lang.String> superInterfaceList)
private void
ScriptRepository. indexTarget(RuleScript script, java.util.Map<java.lang.String,java.util.List<RuleScript>> index)
insert a script into the index using the script target class name as the index key.private void
ScriptRepository. reindexTarget(RuleScript script, RuleScript previous, java.util.Map<java.lang.String,java.util.List<RuleScript>> index)
replace a script in the index using the script target class name as the index key.private void
ScriptRepository. unindexTarget(RuleScript script, java.util.Map<java.lang.String,java.util.List<RuleScript>> index)
remove a script from the index using the script target class name as the index key.Constructors in org.jboss.byteman.agent with parameters of type RuleScript Constructor Description TransformContext(Transformer transformer, RuleScript ruleScript, java.lang.String triggerClassName, java.lang.ClassLoader loader, HelperManager helperManager, AccessEnabler accessEnabler)
-
Uses of RuleScript in org.jboss.byteman.agent.adapter
Fields in org.jboss.byteman.agent.adapter declared as RuleScript Modifier and Type Field Description private RuleScript
RuleTriggerMethodAdapter. ruleScript
-
Uses of RuleScript in org.jboss.byteman.check
Methods in org.jboss.byteman.check with parameters of type RuleScript Modifier and Type Method Description private void
RuleCheck. typeCheckAgainstMethodDeclaration(Rule rule, RuleScript script, java.lang.Class targetClass, java.lang.ClassLoader loader)
-
Uses of RuleScript in org.jboss.byteman.rule
Fields in org.jboss.byteman.rule declared as RuleScript Modifier and Type Field Description private RuleScript
Rule. ruleScript
the script defining this ruleMethods in org.jboss.byteman.rule with parameters of type RuleScript Modifier and Type Method Description static Rule
Rule. create(RuleScript ruleScript, java.lang.ClassLoader loader, HelperManager helperManager, AccessEnabler accessEnabler)
Constructors in org.jboss.byteman.rule with parameters of type RuleScript Constructor Description Rule(RuleScript ruleScript, java.lang.ClassLoader loader, HelperManager helperManager, AccessEnabler accessEnabler)
-