Interface AgentBuilder.TransformerDecorator
- All Known Implementing Classes:
AgentBuilder.TransformerDecorator.Compound, AgentBuilder.TransformerDecorator.ForSubstitution, AgentBuilder.TransformerDecorator.NoOp
- Enclosing interface:
AgentBuilder
public static interface AgentBuilder.TransformerDecorator
A decorator that allows to change the class file transformer that is registered.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classA compound transformer decorator.static enumWraps a class file transformer to become substitutable.static enumA transformer decorator that retains the original transformer. -
Method Summary
Modifier and TypeMethodDescriptiondecorate(ResettableClassFileTransformer classFileTransformer) Decorates the applied class file transformer.
-
Method Details
-
decorate
Decorates the applied class file transformer.- Parameters:
classFileTransformer- The original transformer created by the agent builder.- Returns:
- The class file transformer that is actually being registered.
-