Package | Description |
---|---|
org.jboss.byteman.agent | |
org.jboss.byteman.rule |
Modifier and Type | Method and 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(RuleScript script)
remove a rule script from the repository returning the script if it is found or null
if is not 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.scriptForRuleName(String name)
locate a rule script with a given name
|
Modifier and Type | Method and 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 scripts
|
List<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.
|
Modifier and Type | Method and 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.
|
Modifier and Type | Method and Description |
---|---|
protected void |
Retransformer.collectAffectedNames(List<RuleScript> ruleScripts,
List<String> classList,
List<String> interfaceList,
List<String> superClassList,
List<String> superInterfaceList) |
Constructor and Description |
---|
TransformContext(Transformer transformer,
RuleScript ruleScript,
String triggerClassName,
ClassLoader loader,
HelperManager helperManager) |
Modifier and Type | Method and Description |
---|---|
static Rule |
Rule.create(RuleScript ruleScript,
ClassLoader loader,
HelperManager helperManager) |
Copyright © 2022. All Rights Reserved.