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 RuleScriptTransformContext. ruleScriptFields 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. ruleNameIndexa 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. targetClassIndexa 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. targetInterfaceIndexa 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 RuleScriptScriptRepository. 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.RuleScriptScriptRepository. 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.RuleScriptScriptRepository. removeScript(RuleScript script)remove a rule script from the repository returning the script if it is found or null if is not found.RuleScriptScriptRepository. 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 voidScriptRepository. 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.RuleScriptScriptRepository. 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 voidTransformer. dumpScript(RuleScript ruleScript)private voidScriptRepository. 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 voidScriptRepository. 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.RuleScriptScriptRepository. 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 voidScriptRepository. 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 voidScriptRepository. 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 voidRetransformer. 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 voidScriptRepository. 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 voidScriptRepository. 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 voidScriptRepository. 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 RuleScriptRuleTriggerMethodAdapter. 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 voidRuleCheck. 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 RuleScriptRule. ruleScriptthe script defining this ruleMethods in org.jboss.byteman.rule with parameters of type RuleScript Modifier and Type Method Description static RuleRule. 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)
-