Package org.jboss.byteman.agent
Class TransformSet
java.lang.Object
org.jboss.byteman.agent.TransformSet
A TransformSet groups together a set of Transform records which
share a common classloader, trigger class name (and RuleScript).
The set includes details of successful or failed transforms.
This grouping ensures that all transforms arising from a specific
retransform operation for a new, modified or deleted script can
be managed as a unit. In particular this is needed in order to
allow installation and uninstallation of a rule to be performed
consistently.
Note that although the loader and trigger class name uniquely
identify a single trigger class a transform set may still
contain more than one successful transform. That is possible
because the RuleScript may omit a descriptor and hence may match
multiple overloaded variants of the method named in the rule's
METHOD clause.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
getRule()
boolean
isEmpty()
boolean
isFor
(ClassLoader loader, String triggerClass) boolean
void
setInstalled
(Rule key)
-
Field Details
-
loader
-
triggerClass
-
transforms
-
rule
-
-
Constructor Details
-
TransformSet
-
-
Method Details
-
isFor
-
add
-
getLoader
-
getTriggerClass
-
isInstalled
public boolean isInstalled() -
setInstalled
-
getRule
-
getTransforms
-
isEmpty
public boolean isEmpty() -
clearTransforms
public void clearTransforms()
-