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 classAgentBuilder.Default.ExecutingTransformerAClassFileTransformerthat implements the enclosing agent builder's configuration.static classResettableClassFileTransformer.AbstractBaseAn abstract base implementation of aResettableClassFileTransformer.static classResettableClassFileTransformer.WithDelegationImplements 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 ResettableClassFileTransformerAgentBuilder.Default.Transformation.DifferentialMatcher. classFileTransformerThe class file transformer representing the differential.protected ResettableClassFileTransformerResettableClassFileTransformer.WithDelegation. classFileTransformerThe 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. executingTransformerA constructor for creating aClassFileTransformerthat overrides the newly added method for extracting thejava.lang.Moduleof an instrumented class.Methods in net.bytebuddy.agent.builder that return ResettableClassFileTransformer Modifier and Type Method Description ResettableClassFileTransformerAgentBuilder.TransformerDecorator.Compound. decorate(ResettableClassFileTransformer classFileTransformer)Decorates the applied class file transformer.ResettableClassFileTransformerAgentBuilder.TransformerDecorator. decorate(ResettableClassFileTransformer classFileTransformer)Decorates the applied class file transformer.ResettableClassFileTransformerAgentBuilder.TransformerDecorator.NoOp. decorate(ResettableClassFileTransformer classFileTransformer)Decorates the applied class file transformer.private ResettableClassFileTransformerAgentBuilder.Default. doInstall(java.lang.instrument.Instrumentation instrumentation, AgentBuilder.RawMatcher matcher)Installs the class file transformer.ResettableClassFileTransformerAgentBuilder.Default.Delegator. installOn(java.lang.instrument.Instrumentation instrumentation)Creates and installs aResettableClassFileTransformerthat implements the configuration of this agent builder with a givenInstrumentation.ResettableClassFileTransformerAgentBuilder.Default. installOn(java.lang.instrument.Instrumentation instrumentation)Creates and installs aResettableClassFileTransformerthat implements the configuration of this agent builder with a givenInstrumentation.ResettableClassFileTransformerAgentBuilder. installOn(java.lang.instrument.Instrumentation instrumentation)Creates and installs aResettableClassFileTransformerthat implements the configuration of this agent builder with a givenInstrumentation.ResettableClassFileTransformerAgentBuilder.Default.Delegator. installOnByteBuddyAgent()Creates and installs aResettableClassFileTransformerthat implements the configuration of this agent builder with the Byte Buddy-agent which must be installed prior to calling this method.ResettableClassFileTransformerAgentBuilder.Default. installOnByteBuddyAgent()Creates and installs aResettableClassFileTransformerthat implements the configuration of this agent builder with the Byte Buddy-agent which must be installed prior to calling this method.ResettableClassFileTransformerAgentBuilder. installOnByteBuddyAgent()Creates and installs aResettableClassFileTransformerthat implements the configuration of this agent builder with the Byte Buddy-agent which must be installed prior to calling this method.ResettableClassFileTransformerAgentBuilder.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.ResettableClassFileTransformerAgentBuilder.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.ResettableClassFileTransformerAgentBuilder.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.ResettableClassFileTransformerAgentBuilder.Default. makeRaw()Creates aResettableClassFileTransformerthat implements the configuration of this agent builder.private ResettableClassFileTransformerAgentBuilder.Default. makeRaw(AgentBuilder.Listener listener, AgentBuilder.InstallationListener installationListener)Creates a new class file transformer with a given listener.ResettableClassFileTransformerAgentBuilder.Default.Delegator. patchOn(java.lang.instrument.Instrumentation instrumentation, ResettableClassFileTransformer classFileTransformer)Creates and installs aResettableClassFileTransformerthat implements the configuration of this agent builder with a givenInstrumentation.ResettableClassFileTransformerAgentBuilder.Default. patchOn(java.lang.instrument.Instrumentation instrumentation, ResettableClassFileTransformer classFileTransformer)Creates and installs aResettableClassFileTransformerthat implements the configuration of this agent builder with a givenInstrumentation.ResettableClassFileTransformerAgentBuilder. patchOn(java.lang.instrument.Instrumentation instrumentation, ResettableClassFileTransformer classFileTransformer)Creates and installs aResettableClassFileTransformerthat implements the configuration of this agent builder with a givenInstrumentation.ResettableClassFileTransformerAgentBuilder.Default.Delegator. patchOnByteBuddyAgent(ResettableClassFileTransformer classFileTransformer)Creates and installs aResettableClassFileTransformerthat implements the configuration of this agent builder with the Byte Buddy-agent which must be installed prior to calling this method.ResettableClassFileTransformerAgentBuilder.Default. patchOnByteBuddyAgent(ResettableClassFileTransformer classFileTransformer)Creates and installs aResettableClassFileTransformerthat implements the configuration of this agent builder with the Byte Buddy-agent which must be installed prior to calling this method.ResettableClassFileTransformerAgentBuilder. patchOnByteBuddyAgent(ResettableClassFileTransformer classFileTransformer)Creates and installs aResettableClassFileTransformerthat 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 ResettableClassFileTransformerAgentBuilder.TransformerDecorator.Compound. decorate(ResettableClassFileTransformer classFileTransformer)Decorates the applied class file transformer.ResettableClassFileTransformerAgentBuilder.TransformerDecorator. decorate(ResettableClassFileTransformer classFileTransformer)Decorates the applied class file transformer.ResettableClassFileTransformerAgentBuilder.TransformerDecorator.NoOp. decorate(ResettableClassFileTransformer classFileTransformer)Decorates the applied class file transformer.voidAgentBuilder.InstallationListener.Adapter. onBeforeInstall(java.lang.instrument.Instrumentation instrumentation, ResettableClassFileTransformer classFileTransformer)Invoked prior to the installation of a class file transformer.voidAgentBuilder.InstallationListener.Compound. onBeforeInstall(java.lang.instrument.Instrumentation instrumentation, ResettableClassFileTransformer classFileTransformer)Invoked prior to the installation of a class file transformer.voidAgentBuilder.InstallationListener.ErrorSuppressing. onBeforeInstall(java.lang.instrument.Instrumentation instrumentation, ResettableClassFileTransformer classFileTransformer)Invoked prior to the installation of a class file transformer.voidAgentBuilder.InstallationListener.NoOp. onBeforeInstall(java.lang.instrument.Instrumentation instrumentation, ResettableClassFileTransformer classFileTransformer)Invoked prior to the installation of a class file transformer.voidAgentBuilder.InstallationListener. onBeforeInstall(java.lang.instrument.Instrumentation instrumentation, ResettableClassFileTransformer classFileTransformer)Invoked prior to the installation of a class file transformer.voidAgentBuilder.InstallationListener.StreamWriting. onBeforeInstall(java.lang.instrument.Instrumentation instrumentation, ResettableClassFileTransformer classFileTransformer)Invoked prior to the installation of a class file transformer.java.lang.ThrowableAgentBuilder.InstallationListener.Adapter. onError(java.lang.instrument.Instrumentation instrumentation, ResettableClassFileTransformer classFileTransformer, java.lang.Throwable throwable)Invoked if an installation causes an error.java.lang.ThrowableAgentBuilder.InstallationListener.Compound. onError(java.lang.instrument.Instrumentation instrumentation, ResettableClassFileTransformer classFileTransformer, java.lang.Throwable throwable)Invoked if an installation causes an error.java.lang.ThrowableAgentBuilder.InstallationListener.ErrorSuppressing. onError(java.lang.instrument.Instrumentation instrumentation, ResettableClassFileTransformer classFileTransformer, java.lang.Throwable throwable)Invoked if an installation causes an error.java.lang.ThrowableAgentBuilder.InstallationListener.NoOp. onError(java.lang.instrument.Instrumentation instrumentation, ResettableClassFileTransformer classFileTransformer, java.lang.Throwable throwable)Invoked if an installation causes an error.java.lang.ThrowableAgentBuilder.InstallationListener. onError(java.lang.instrument.Instrumentation instrumentation, ResettableClassFileTransformer classFileTransformer, java.lang.Throwable throwable)Invoked if an installation causes an error.java.lang.ThrowableAgentBuilder.InstallationListener.StreamWriting. onError(java.lang.instrument.Instrumentation instrumentation, ResettableClassFileTransformer classFileTransformer, java.lang.Throwable throwable)Invoked if an installation causes an error.voidAgentBuilder.InstallationListener.Adapter. onInstall(java.lang.instrument.Instrumentation instrumentation, ResettableClassFileTransformer classFileTransformer)Invoked upon the successful installation of a class file transformer.voidAgentBuilder.InstallationListener.Compound. onInstall(java.lang.instrument.Instrumentation instrumentation, ResettableClassFileTransformer classFileTransformer)Invoked upon the successful installation of a class file transformer.voidAgentBuilder.InstallationListener.ErrorSuppressing. onInstall(java.lang.instrument.Instrumentation instrumentation, ResettableClassFileTransformer classFileTransformer)Invoked upon the successful installation of a class file transformer.voidAgentBuilder.InstallationListener.NoOp. onInstall(java.lang.instrument.Instrumentation instrumentation, ResettableClassFileTransformer classFileTransformer)Invoked upon the successful installation of a class file transformer.voidAgentBuilder.InstallationListener. onInstall(java.lang.instrument.Instrumentation instrumentation, ResettableClassFileTransformer classFileTransformer)Invoked upon the successful installation of a class file transformer.voidAgentBuilder.InstallationListener.StreamWriting. onInstall(java.lang.instrument.Instrumentation instrumentation, ResettableClassFileTransformer classFileTransformer)Invoked upon the successful installation of a class file transformer.voidAgentBuilder.RedefinitionStrategy.ResubmissionStrategy.Enabled.ResubmissionInstallationListener. onInstall(java.lang.instrument.Instrumentation instrumentation, ResettableClassFileTransformer classFileTransformer)voidAgentBuilder.InstallationListener.Adapter. onReset(java.lang.instrument.Instrumentation instrumentation, ResettableClassFileTransformer classFileTransformer)Invoked if an installation is reset.voidAgentBuilder.InstallationListener.Compound. onReset(java.lang.instrument.Instrumentation instrumentation, ResettableClassFileTransformer classFileTransformer)Invoked if an installation is reset.voidAgentBuilder.InstallationListener.ErrorSuppressing. onReset(java.lang.instrument.Instrumentation instrumentation, ResettableClassFileTransformer classFileTransformer)Invoked if an installation is reset.voidAgentBuilder.InstallationListener.NoOp. onReset(java.lang.instrument.Instrumentation instrumentation, ResettableClassFileTransformer classFileTransformer)Invoked if an installation is reset.voidAgentBuilder.InstallationListener. onReset(java.lang.instrument.Instrumentation instrumentation, ResettableClassFileTransformer classFileTransformer)Invoked if an installation is reset.voidAgentBuilder.InstallationListener.StreamWriting. onReset(java.lang.instrument.Instrumentation instrumentation, ResettableClassFileTransformer classFileTransformer)Invoked if an installation is reset.voidAgentBuilder.RedefinitionStrategy.ResubmissionStrategy.Enabled.ResubmissionInstallationListener. onReset(java.lang.instrument.Instrumentation instrumentation, ResettableClassFileTransformer classFileTransformer)ResettableClassFileTransformerAgentBuilder.Default.Delegator. patchOn(java.lang.instrument.Instrumentation instrumentation, ResettableClassFileTransformer classFileTransformer)Creates and installs aResettableClassFileTransformerthat implements the configuration of this agent builder with a givenInstrumentation.ResettableClassFileTransformerAgentBuilder.Default. patchOn(java.lang.instrument.Instrumentation instrumentation, ResettableClassFileTransformer classFileTransformer)Creates and installs aResettableClassFileTransformerthat implements the configuration of this agent builder with a givenInstrumentation.ResettableClassFileTransformerAgentBuilder. patchOn(java.lang.instrument.Instrumentation instrumentation, ResettableClassFileTransformer classFileTransformer)Creates and installs aResettableClassFileTransformerthat implements the configuration of this agent builder with a givenInstrumentation.ResettableClassFileTransformerAgentBuilder.Default.Delegator. patchOnByteBuddyAgent(ResettableClassFileTransformer classFileTransformer)Creates and installs aResettableClassFileTransformerthat implements the configuration of this agent builder with the Byte Buddy-agent which must be installed prior to calling this method.ResettableClassFileTransformerAgentBuilder.Default. patchOnByteBuddyAgent(ResettableClassFileTransformer classFileTransformer)Creates and installs aResettableClassFileTransformerthat implements the configuration of this agent builder with the Byte Buddy-agent which must be installed prior to calling this method.ResettableClassFileTransformerAgentBuilder. patchOnByteBuddyAgent(ResettableClassFileTransformer classFileTransformer)Creates and installs aResettableClassFileTransformerthat implements the configuration of this agent builder with the Byte Buddy-agent which must be installed prior to calling this method.booleanAgentBuilder.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.booleanResettableClassFileTransformer. 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.booleanResettableClassFileTransformer.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.
-