Uses of Class
org.jboss.byteman.agent.RuleScript
Packages that use RuleScript
Package
Description
-
Uses of RuleScript in org.jboss.byteman.agent
Fields in org.jboss.byteman.agent declared as RuleScriptFields in org.jboss.byteman.agent with type parameters of type RuleScriptModifier and TypeFieldDescriptionprivate final Map
<String, RuleScript> ScriptRepository.ruleNameIndex
a 1-m mapping from rule names which appear in rules to a script object holding the rule detailsprivate final Map
<String, List<RuleScript>> ScriptRepository.targetClassIndex
a 1-1 mapping from target class names which appear in rules to a script object holding the rule detailsprivate final Map
<String, 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 RuleScriptModifier and TypeMethodDescriptionScriptRepository.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.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.ScriptRepository.removeScript
(RuleScript script) remove a rule script from the repository returning the script if it is found or null if is not found.ScriptRepository.scriptForRuleName
(String name) locate a rule script with a given nameMethods in org.jboss.byteman.agent that return types with arguments of type RuleScriptModifier and TypeMethodDescriptionScriptRepository.currentRules()
return a list containing all the currently installed rule scripts.ScriptRepository.processScripts
(String scriptText, String scriptFile) Split the text of a script file into a list of individual rule scriptsScriptRepository.scriptsForClassName
(String name) return a list of all class scripts indexed using the supplied name.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 RuleScriptModifier and TypeMethodDescriptionprivate void
ScriptRepository.add
(List<RuleScript> entries, RuleScript script) add a rule script to start or end of the index list according to its location type.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, Map<String, 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, Map<String, List<RuleScript>> index) replace a script in the index using the script target class name as the index key.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.private void
ScriptRepository.unindexTarget
(RuleScript script, Map<String, 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 RuleScriptModifier and TypeMethodDescriptionprivate void
ScriptRepository.add
(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
(List<RuleScript> ruleScripts, List<String> classList, List<String> interfaceList, List<String> superClassList, List<String> superInterfaceList) private void
ScriptRepository.indexTarget
(RuleScript script, Map<String, 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, Map<String, 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, Map<String, 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 RuleScriptModifierConstructorDescriptionTransformContext
(Transformer transformer, RuleScript ruleScript, String triggerClassName, 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 -
Uses of RuleScript in org.jboss.byteman.check
Methods in org.jboss.byteman.check with parameters of type RuleScriptModifier and TypeMethodDescriptionprivate void
RuleCheck.typeCheckAgainstMethodDeclaration
(Rule rule, RuleScript script, Class targetClass, ClassLoader loader) -
Uses of RuleScript in org.jboss.byteman.rule
Fields in org.jboss.byteman.rule declared as RuleScriptModifier and TypeFieldDescriptionprivate RuleScript
Rule.ruleScript
the script defining this ruleMethods in org.jboss.byteman.rule with parameters of type RuleScriptModifier and TypeMethodDescriptionstatic Rule
Rule.create
(RuleScript ruleScript, ClassLoader loader, HelperManager helperManager, AccessEnabler accessEnabler) Constructors in org.jboss.byteman.rule with parameters of type RuleScriptModifierConstructorDescriptionprivate
Rule
(RuleScript ruleScript, ClassLoader loader, HelperManager helperManager, AccessEnabler accessEnabler)