Uses of Interface
net.bytebuddy.agent.builder.ResettableClassFileTransformer
-
Packages that use ResettableClassFileTransformer Package Description net.bytebuddy.agent.builder An agent builder is used to easily implement load-time class-transformations using a Java agent. -
-
Uses of ResettableClassFileTransformer in net.bytebuddy.agent.builder
Classes in net.bytebuddy.agent.builder that implement ResettableClassFileTransformer Modifier and Type Class Description protected static class
AgentBuilder.Default.ExecutingTransformer
AClassFileTransformer
that implements the enclosing agent builder's configuration.static class
ResettableClassFileTransformer.AbstractBase
An abstract base implementation of aResettableClassFileTransformer
.static class
ResettableClassFileTransformer.WithDelegation
Implements a resettable class file transformer that allows for the delegation of a transformation.Fields in net.bytebuddy.agent.builder declared as ResettableClassFileTransformer Modifier and Type Field Description private ResettableClassFileTransformer
AgentBuilder.Default.Transformation.DifferentialMatcher. classFileTransformer
The class file transformer representing the differential.protected ResettableClassFileTransformer
ResettableClassFileTransformer.WithDelegation. classFileTransformer
The class file transformer to delegate to.Fields in net.bytebuddy.agent.builder with type parameters of type ResettableClassFileTransformer Modifier and Type Field Description private java.lang.reflect.Constructor<? extends ResettableClassFileTransformer>
AgentBuilder.Default.ExecutingTransformer.Factory.ForJava9CapableVm. executingTransformer
A constructor for creating aClassFileTransformer
that overrides the newly added method for extracting thejava.lang.Module
of an instrumented class.Methods in net.bytebuddy.agent.builder that return ResettableClassFileTransformer Modifier and Type Method Description ResettableClassFileTransformer
AgentBuilder.TransformerDecorator.Compound. decorate(ResettableClassFileTransformer classFileTransformer)
Decorates the applied class file transformer.ResettableClassFileTransformer
AgentBuilder.TransformerDecorator. decorate(ResettableClassFileTransformer classFileTransformer)
Decorates the applied class file transformer.ResettableClassFileTransformer
AgentBuilder.TransformerDecorator.NoOp. decorate(ResettableClassFileTransformer classFileTransformer)
Decorates the applied class file transformer.private ResettableClassFileTransformer
AgentBuilder.Default. doInstall(java.lang.instrument.Instrumentation instrumentation, AgentBuilder.RawMatcher matcher)
Installs the class file transformer.ResettableClassFileTransformer
AgentBuilder.Default.Delegator. installOn(java.lang.instrument.Instrumentation instrumentation)
Creates and installs aResettableClassFileTransformer
that implements the configuration of this agent builder with a givenInstrumentation
.ResettableClassFileTransformer
AgentBuilder.Default. installOn(java.lang.instrument.Instrumentation instrumentation)
Creates and installs aResettableClassFileTransformer
that implements the configuration of this agent builder with a givenInstrumentation
.ResettableClassFileTransformer
AgentBuilder. installOn(java.lang.instrument.Instrumentation instrumentation)
Creates and installs aResettableClassFileTransformer
that implements the configuration of this agent builder with a givenInstrumentation
.ResettableClassFileTransformer
AgentBuilder.Default.Delegator. installOnByteBuddyAgent()
Creates and installs aResettableClassFileTransformer
that implements the configuration of this agent builder with the Byte Buddy-agent which must be installed prior to calling this method.ResettableClassFileTransformer
AgentBuilder.Default. installOnByteBuddyAgent()
Creates and installs aResettableClassFileTransformer
that implements the configuration of this agent builder with the Byte Buddy-agent which must be installed prior to calling this method.ResettableClassFileTransformer
AgentBuilder. installOnByteBuddyAgent()
Creates and installs aResettableClassFileTransformer
that implements the configuration of this agent builder with the Byte Buddy-agent which must be installed prior to calling this method.ResettableClassFileTransformer
AgentBuilder.Default.ExecutingTransformer.Factory.ForJava9CapableVm. make(ByteBuddy byteBuddy, AgentBuilder.Listener listener, AgentBuilder.PoolStrategy poolStrategy, AgentBuilder.TypeStrategy typeStrategy, AgentBuilder.LocationStrategy locationStrategy, AgentBuilder.Default.NativeMethodStrategy nativeMethodStrategy, AgentBuilder.InitializationStrategy initializationStrategy, AgentBuilder.InjectionStrategy injectionStrategy, AgentBuilder.LambdaInstrumentationStrategy lambdaInstrumentationStrategy, AgentBuilder.DescriptionStrategy descriptionStrategy, AgentBuilder.FallbackStrategy fallbackStrategy, AgentBuilder.ClassFileBufferStrategy classFileBufferStrategy, AgentBuilder.InstallationListener installationListener, AgentBuilder.RawMatcher ignoreMatcher, java.util.List<AgentBuilder.Default.Transformation> transformations, AgentBuilder.CircularityLock circularityLock)
Creates a new class file transformer for the current VM.ResettableClassFileTransformer
AgentBuilder.Default.ExecutingTransformer.Factory.ForLegacyVm. make(ByteBuddy byteBuddy, AgentBuilder.Listener listener, AgentBuilder.PoolStrategy poolStrategy, AgentBuilder.TypeStrategy typeStrategy, AgentBuilder.LocationStrategy locationStrategy, AgentBuilder.Default.NativeMethodStrategy nativeMethodStrategy, AgentBuilder.InitializationStrategy initializationStrategy, AgentBuilder.InjectionStrategy injectionStrategy, AgentBuilder.LambdaInstrumentationStrategy lambdaInstrumentationStrategy, AgentBuilder.DescriptionStrategy descriptionStrategy, AgentBuilder.FallbackStrategy fallbackStrategy, AgentBuilder.ClassFileBufferStrategy classFileBufferStrategy, AgentBuilder.InstallationListener installationListener, AgentBuilder.RawMatcher ignoreMatcher, java.util.List<AgentBuilder.Default.Transformation> transformations, AgentBuilder.CircularityLock circularityLock)
Creates a new class file transformer for the current VM.ResettableClassFileTransformer
AgentBuilder.Default.ExecutingTransformer.Factory. make(ByteBuddy byteBuddy, AgentBuilder.Listener listener, AgentBuilder.PoolStrategy poolStrategy, AgentBuilder.TypeStrategy typeStrategy, AgentBuilder.LocationStrategy locationStrategy, AgentBuilder.Default.NativeMethodStrategy nativeMethodStrategy, AgentBuilder.InitializationStrategy initializationStrategy, AgentBuilder.InjectionStrategy injectionStrategy, AgentBuilder.LambdaInstrumentationStrategy lambdaInstrumentationStrategy, AgentBuilder.DescriptionStrategy descriptionStrategy, AgentBuilder.FallbackStrategy fallbackStrategy, AgentBuilder.ClassFileBufferStrategy classFileBufferStrategy, AgentBuilder.InstallationListener installationListener, AgentBuilder.RawMatcher ignoreMatcher, java.util.List<AgentBuilder.Default.Transformation> transformations, AgentBuilder.CircularityLock circularityLock)
Creates a new class file transformer for the current VM.ResettableClassFileTransformer
AgentBuilder.Default. makeRaw()
Creates aResettableClassFileTransformer
that implements the configuration of this agent builder.private ResettableClassFileTransformer
AgentBuilder.Default. makeRaw(AgentBuilder.Listener listener, AgentBuilder.InstallationListener installationListener)
Creates a new class file transformer with a given listener.ResettableClassFileTransformer
AgentBuilder.Default.Delegator. patchOn(java.lang.instrument.Instrumentation instrumentation, ResettableClassFileTransformer classFileTransformer)
Creates and installs aResettableClassFileTransformer
that implements the configuration of this agent builder with a givenInstrumentation
.ResettableClassFileTransformer
AgentBuilder.Default. patchOn(java.lang.instrument.Instrumentation instrumentation, ResettableClassFileTransformer classFileTransformer)
Creates and installs aResettableClassFileTransformer
that implements the configuration of this agent builder with a givenInstrumentation
.ResettableClassFileTransformer
AgentBuilder. patchOn(java.lang.instrument.Instrumentation instrumentation, ResettableClassFileTransformer classFileTransformer)
Creates and installs aResettableClassFileTransformer
that implements the configuration of this agent builder with a givenInstrumentation
.ResettableClassFileTransformer
AgentBuilder.Default.Delegator. patchOnByteBuddyAgent(ResettableClassFileTransformer classFileTransformer)
Creates and installs aResettableClassFileTransformer
that implements the configuration of this agent builder with the Byte Buddy-agent which must be installed prior to calling this method.ResettableClassFileTransformer
AgentBuilder.Default. patchOnByteBuddyAgent(ResettableClassFileTransformer classFileTransformer)
Creates and installs aResettableClassFileTransformer
that implements the configuration of this agent builder with the Byte Buddy-agent which must be installed prior to calling this method.ResettableClassFileTransformer
AgentBuilder. patchOnByteBuddyAgent(ResettableClassFileTransformer classFileTransformer)
Creates and installs aResettableClassFileTransformer
that implements the configuration of this agent builder with the Byte Buddy-agent which must be installed prior to calling this method.Methods in net.bytebuddy.agent.builder with parameters of type ResettableClassFileTransformer Modifier and Type Method Description ResettableClassFileTransformer
AgentBuilder.TransformerDecorator.Compound. decorate(ResettableClassFileTransformer classFileTransformer)
Decorates the applied class file transformer.ResettableClassFileTransformer
AgentBuilder.TransformerDecorator. decorate(ResettableClassFileTransformer classFileTransformer)
Decorates the applied class file transformer.ResettableClassFileTransformer
AgentBuilder.TransformerDecorator.NoOp. decorate(ResettableClassFileTransformer classFileTransformer)
Decorates the applied class file transformer.void
AgentBuilder.InstallationListener.Adapter. onBeforeInstall(java.lang.instrument.Instrumentation instrumentation, ResettableClassFileTransformer classFileTransformer)
Invoked prior to the installation of a class file transformer.void
AgentBuilder.InstallationListener.Compound. onBeforeInstall(java.lang.instrument.Instrumentation instrumentation, ResettableClassFileTransformer classFileTransformer)
Invoked prior to the installation of a class file transformer.void
AgentBuilder.InstallationListener.ErrorSuppressing. onBeforeInstall(java.lang.instrument.Instrumentation instrumentation, ResettableClassFileTransformer classFileTransformer)
Invoked prior to the installation of a class file transformer.void
AgentBuilder.InstallationListener.NoOp. onBeforeInstall(java.lang.instrument.Instrumentation instrumentation, ResettableClassFileTransformer classFileTransformer)
Invoked prior to the installation of a class file transformer.void
AgentBuilder.InstallationListener. onBeforeInstall(java.lang.instrument.Instrumentation instrumentation, ResettableClassFileTransformer classFileTransformer)
Invoked prior to the installation of a class file transformer.void
AgentBuilder.InstallationListener.StreamWriting. onBeforeInstall(java.lang.instrument.Instrumentation instrumentation, ResettableClassFileTransformer classFileTransformer)
Invoked prior to the installation of a class file transformer.java.lang.Throwable
AgentBuilder.InstallationListener.Adapter. onError(java.lang.instrument.Instrumentation instrumentation, ResettableClassFileTransformer classFileTransformer, java.lang.Throwable throwable)
Invoked if an installation causes an error.java.lang.Throwable
AgentBuilder.InstallationListener.Compound. onError(java.lang.instrument.Instrumentation instrumentation, ResettableClassFileTransformer classFileTransformer, java.lang.Throwable throwable)
Invoked if an installation causes an error.java.lang.Throwable
AgentBuilder.InstallationListener.ErrorSuppressing. onError(java.lang.instrument.Instrumentation instrumentation, ResettableClassFileTransformer classFileTransformer, java.lang.Throwable throwable)
Invoked if an installation causes an error.java.lang.Throwable
AgentBuilder.InstallationListener.NoOp. onError(java.lang.instrument.Instrumentation instrumentation, ResettableClassFileTransformer classFileTransformer, java.lang.Throwable throwable)
Invoked if an installation causes an error.java.lang.Throwable
AgentBuilder.InstallationListener. onError(java.lang.instrument.Instrumentation instrumentation, ResettableClassFileTransformer classFileTransformer, java.lang.Throwable throwable)
Invoked if an installation causes an error.java.lang.Throwable
AgentBuilder.InstallationListener.StreamWriting. onError(java.lang.instrument.Instrumentation instrumentation, ResettableClassFileTransformer classFileTransformer, java.lang.Throwable throwable)
Invoked if an installation causes an error.void
AgentBuilder.InstallationListener.Adapter. onInstall(java.lang.instrument.Instrumentation instrumentation, ResettableClassFileTransformer classFileTransformer)
Invoked upon the successful installation of a class file transformer.void
AgentBuilder.InstallationListener.Compound. onInstall(java.lang.instrument.Instrumentation instrumentation, ResettableClassFileTransformer classFileTransformer)
Invoked upon the successful installation of a class file transformer.void
AgentBuilder.InstallationListener.ErrorSuppressing. onInstall(java.lang.instrument.Instrumentation instrumentation, ResettableClassFileTransformer classFileTransformer)
Invoked upon the successful installation of a class file transformer.void
AgentBuilder.InstallationListener.NoOp. onInstall(java.lang.instrument.Instrumentation instrumentation, ResettableClassFileTransformer classFileTransformer)
Invoked upon the successful installation of a class file transformer.void
AgentBuilder.InstallationListener. onInstall(java.lang.instrument.Instrumentation instrumentation, ResettableClassFileTransformer classFileTransformer)
Invoked upon the successful installation of a class file transformer.void
AgentBuilder.InstallationListener.StreamWriting. onInstall(java.lang.instrument.Instrumentation instrumentation, ResettableClassFileTransformer classFileTransformer)
Invoked upon the successful installation of a class file transformer.void
AgentBuilder.RedefinitionStrategy.ResubmissionStrategy.Enabled.ResubmissionInstallationListener. onInstall(java.lang.instrument.Instrumentation instrumentation, ResettableClassFileTransformer classFileTransformer)
void
AgentBuilder.InstallationListener.Adapter. onReset(java.lang.instrument.Instrumentation instrumentation, ResettableClassFileTransformer classFileTransformer)
Invoked if an installation is reset.void
AgentBuilder.InstallationListener.Compound. onReset(java.lang.instrument.Instrumentation instrumentation, ResettableClassFileTransformer classFileTransformer)
Invoked if an installation is reset.void
AgentBuilder.InstallationListener.ErrorSuppressing. onReset(java.lang.instrument.Instrumentation instrumentation, ResettableClassFileTransformer classFileTransformer)
Invoked if an installation is reset.void
AgentBuilder.InstallationListener.NoOp. onReset(java.lang.instrument.Instrumentation instrumentation, ResettableClassFileTransformer classFileTransformer)
Invoked if an installation is reset.void
AgentBuilder.InstallationListener. onReset(java.lang.instrument.Instrumentation instrumentation, ResettableClassFileTransformer classFileTransformer)
Invoked if an installation is reset.void
AgentBuilder.InstallationListener.StreamWriting. onReset(java.lang.instrument.Instrumentation instrumentation, ResettableClassFileTransformer classFileTransformer)
Invoked if an installation is reset.void
AgentBuilder.RedefinitionStrategy.ResubmissionStrategy.Enabled.ResubmissionInstallationListener. onReset(java.lang.instrument.Instrumentation instrumentation, ResettableClassFileTransformer classFileTransformer)
ResettableClassFileTransformer
AgentBuilder.Default.Delegator. patchOn(java.lang.instrument.Instrumentation instrumentation, ResettableClassFileTransformer classFileTransformer)
Creates and installs aResettableClassFileTransformer
that implements the configuration of this agent builder with a givenInstrumentation
.ResettableClassFileTransformer
AgentBuilder.Default. patchOn(java.lang.instrument.Instrumentation instrumentation, ResettableClassFileTransformer classFileTransformer)
Creates and installs aResettableClassFileTransformer
that implements the configuration of this agent builder with a givenInstrumentation
.ResettableClassFileTransformer
AgentBuilder. patchOn(java.lang.instrument.Instrumentation instrumentation, ResettableClassFileTransformer classFileTransformer)
Creates and installs aResettableClassFileTransformer
that implements the configuration of this agent builder with a givenInstrumentation
.ResettableClassFileTransformer
AgentBuilder.Default.Delegator. patchOnByteBuddyAgent(ResettableClassFileTransformer classFileTransformer)
Creates and installs aResettableClassFileTransformer
that implements the configuration of this agent builder with the Byte Buddy-agent which must be installed prior to calling this method.ResettableClassFileTransformer
AgentBuilder.Default. patchOnByteBuddyAgent(ResettableClassFileTransformer classFileTransformer)
Creates and installs aResettableClassFileTransformer
that implements the configuration of this agent builder with the Byte Buddy-agent which must be installed prior to calling this method.ResettableClassFileTransformer
AgentBuilder. patchOnByteBuddyAgent(ResettableClassFileTransformer classFileTransformer)
Creates and installs aResettableClassFileTransformer
that implements the configuration of this agent builder with the Byte Buddy-agent which must be installed prior to calling this method.boolean
AgentBuilder.Default.ExecutingTransformer. reset(java.lang.instrument.Instrumentation instrumentation, ResettableClassFileTransformer classFileTransformer, AgentBuilder.RedefinitionStrategy redefinitionStrategy, AgentBuilder.RedefinitionStrategy.DiscoveryStrategy redefinitionDiscoveryStrategy, AgentBuilder.RedefinitionStrategy.BatchAllocator redefinitionBatchAllocator, AgentBuilder.RedefinitionStrategy.Listener redefinitionListener)
Deregisters this class file transformer and redefines any transformed class to its state without this class file transformer applied, if the supplied redefinition strategy is enabled.boolean
ResettableClassFileTransformer. reset(java.lang.instrument.Instrumentation instrumentation, ResettableClassFileTransformer classFileTransformer, AgentBuilder.RedefinitionStrategy redefinitionStrategy, AgentBuilder.RedefinitionStrategy.DiscoveryStrategy redefinitionDiscoveryStrategy, AgentBuilder.RedefinitionStrategy.BatchAllocator redefinitionBatchAllocator, AgentBuilder.RedefinitionStrategy.Listener redefinitionListener)
Deregisters this class file transformer and redefines any transformed class to its state without this class file transformer applied, if the supplied redefinition strategy is enabled.boolean
ResettableClassFileTransformer.WithDelegation. reset(java.lang.instrument.Instrumentation instrumentation, ResettableClassFileTransformer classFileTransformer, AgentBuilder.RedefinitionStrategy redefinitionStrategy, AgentBuilder.RedefinitionStrategy.DiscoveryStrategy redefinitionDiscoveryStrategy, AgentBuilder.RedefinitionStrategy.BatchAllocator redefinitionBatchAllocator, AgentBuilder.RedefinitionStrategy.Listener redefinitionListener)
Deregisters this class file transformer and redefines any transformed class to its state without this class file transformer applied, if the supplied redefinition strategy is enabled.Constructors in net.bytebuddy.agent.builder with parameters of type ResettableClassFileTransformer Constructor Description DifferentialMatcher(AgentBuilder.RawMatcher ignoreMatcher, java.util.List<AgentBuilder.Default.Transformation> transformations, ResettableClassFileTransformer classFileTransformer)
Creates a new differential matcher.WithDelegation(ResettableClassFileTransformer classFileTransformer)
Creates a new delegating resettable class file transformer.Constructor parameters in net.bytebuddy.agent.builder with type arguments of type ResettableClassFileTransformer Constructor Description ForJava9CapableVm(java.lang.reflect.Constructor<? extends ResettableClassFileTransformer> executingTransformer)
Creates a class file transformer factory for a Java 9 capable VM.
-