Uses of Interface
net.bytebuddy.agent.builder.AgentBuilder
Packages that use AgentBuilder
Package
Description
An agent builder is used to easily implement load-time class-transformations using a Java agent.
-
Uses of AgentBuilder in net.bytebuddy.agent.builder
Subinterfaces of AgentBuilder in net.bytebuddy.agent.builderModifier and TypeInterfaceDescriptionstatic interfaceThis interface is used to allow for optionally providing severalAgentBuilder.Transformerto applied when a matcher identifies a type to be instrumented.static interfaceAllows to further specify ignored types.static interfaceAn agent builder configuration that allows the registration of listeners to the redefinition process.static interfaceAn agent builder configuration strategy that allows the definition of a discovery strategy.static interfaceAn agent builder configuration that allows the configuration of a batching strategy.static interfaceA complete but extendable resubmission specification.Classes in net.bytebuddy.agent.builder that implement AgentBuilderModifier and TypeClassDescriptionstatic classThe default implementation of anAgentBuilder.protected static classAn abstract implementation of an agent builder that delegates all invocation to another instance.protected static classAn abstract base implementation of a matchable.protected classA delegator transformer for further precising what types to ignore.protected static classAn implementation of a default agent builder that allows for refinement of the redefinition strategy.protected classA delegator that applies a resubmission.protected classA helper class that describes aAgentBuilder.Defaultafter supplying aAgentBuilder.RawMatchersuch that one or severalAgentBuilder.Transformers can be supplied.Methods in net.bytebuddy.agent.builder that return AgentBuilderModifier and TypeMethodDescriptionAgentBuilder.assureReadEdgeFromAndTo(Instrumentation instrumentation, Class<?>... type) Assures that all modules of the supplied types are read by the module of any instrumented type and vice versa.AgentBuilder.assureReadEdgeFromAndTo(Instrumentation instrumentation, Collection<? extends JavaModule> modules) Assures that all supplied modules are read by the module of any instrumented type and vice versa.AgentBuilder.assureReadEdgeFromAndTo(Instrumentation instrumentation, JavaModule... module) Assures that all supplied modules are read by the module of any instrumented type and vice versa.AgentBuilder.Default.assureReadEdgeFromAndTo(Instrumentation instrumentation, Class<?>... type) Assures that all modules of the supplied types are read by the module of any instrumented type and vice versa.AgentBuilder.Default.assureReadEdgeFromAndTo(Instrumentation instrumentation, Collection<? extends JavaModule> modules) Assures that all supplied modules are read by the module of any instrumented type and vice versa.AgentBuilder.Default.assureReadEdgeFromAndTo(Instrumentation instrumentation, JavaModule... module) Assures that all supplied modules are read by the module of any instrumented type and vice versa.AgentBuilder.Default.Delegator.assureReadEdgeFromAndTo(Instrumentation instrumentation, Class<?>... type) Assures that all modules of the supplied types are read by the module of any instrumented type and vice versa.AgentBuilder.Default.Delegator.assureReadEdgeFromAndTo(Instrumentation instrumentation, Collection<? extends JavaModule> modules) Assures that all supplied modules are read by the module of any instrumented type and vice versa.AgentBuilder.Default.Delegator.assureReadEdgeFromAndTo(Instrumentation instrumentation, JavaModule... module) Assures that all supplied modules are read by the module of any instrumented type and vice versa.AgentBuilder.assureReadEdgeTo(Instrumentation instrumentation, Class<?>... type) Assures that all modules of the supplied types are read by the module of any instrumented type.AgentBuilder.assureReadEdgeTo(Instrumentation instrumentation, Collection<? extends JavaModule> modules) Assures that all supplied modules are read by the module of any instrumented type.AgentBuilder.assureReadEdgeTo(Instrumentation instrumentation, JavaModule... module) Assures that all supplied modules are read by the module of any instrumented type.AgentBuilder.Default.assureReadEdgeTo(Instrumentation instrumentation, Class<?>... type) Assures that all modules of the supplied types are read by the module of any instrumented type.AgentBuilder.Default.assureReadEdgeTo(Instrumentation instrumentation, Collection<? extends JavaModule> modules) Assures that all supplied modules are read by the module of any instrumented type.AgentBuilder.Default.assureReadEdgeTo(Instrumentation instrumentation, JavaModule... module) Assures that all supplied modules are read by the module of any instrumented type.AgentBuilder.Default.Delegator.assureReadEdgeTo(Instrumentation instrumentation, Class<?>... type) Assures that all modules of the supplied types are read by the module of any instrumented type.AgentBuilder.Default.Delegator.assureReadEdgeTo(Instrumentation instrumentation, Collection<? extends JavaModule> modules) Assures that all supplied modules are read by the module of any instrumented type.AgentBuilder.Default.Delegator.assureReadEdgeTo(Instrumentation instrumentation, JavaModule... module) Assures that all supplied modules are read by the module of any instrumented type.AgentBuilder.Default.Transforming.asTerminalTransformation()Applies the previously defined transformation as terminal such that no subsequent transformers are applied even if their matchers would include the type that was matched for applying this transformer.AgentBuilder.Identified.Extendable.asTerminalTransformation()Applies the previously defined transformation as terminal such that no subsequent transformers are applied even if their matchers would include the type that was matched for applying this transformer.AgentBuilder.Default.Delegator.disableClassFormatChanges()Disables all implicit changes on a class file that Byte Buddy would apply for certain instrumentations.AgentBuilder.Default.disableClassFormatChanges()Disables all implicit changes on a class file that Byte Buddy would apply for certain instrumentations.AgentBuilder.disableClassFormatChanges()Disables all implicit changes on a class file that Byte Buddy would apply for certain instrumentations.AgentBuilder.Default.Delegator.disableNativeMethodPrefix()Disables the use of a native method prefix for instrumented methods.AgentBuilder.Default.disableNativeMethodPrefix()Disables the use of a native method prefix for instrumented methods.AgentBuilder.disableNativeMethodPrefix()Disables the use of a native method prefix for instrumented methods.AgentBuilder.Default.Delegator.enableNativeMethodPrefix(String prefix) Enables the use of the given native method prefix for instrumented methods.AgentBuilder.Default.enableNativeMethodPrefix(String prefix) Enables the use of the given native method prefix for instrumented methods.AgentBuilder.enableNativeMethodPrefix(String prefix) Enables the use of the given native method prefix for instrumented methods.protected abstract AgentBuilderAgentBuilder.Default.Delegator.materialize()Materializes the currently describedAgentBuilder.protected AgentBuilderAgentBuilder.Default.Ignoring.materialize()protected AgentBuilderAgentBuilder.Default.Redefining.WithResubmission.materialize()protected AgentBuilderAgentBuilder.Default.Transforming.materialize()static AgentBuilderCreates anAgentBuilderthat realizes the provided build plugins.static AgentBuilderAgentBuilder.Default.of(EntryPoint entryPoint, List<? extends Plugin> plugins) Creates anAgentBuilderthat realizes the provided build plugins.static AgentBuilderAgentBuilder.Default.of(EntryPoint entryPoint, Plugin... plugin) Creates anAgentBuilderthat realizes the provided build plugins.static AgentBuilderAgentBuilder.Default.of(EntryPoint entryPoint, ClassFileVersion classFileVersion, List<? extends Plugin> plugins) Creates anAgentBuilderthat realizes the provided build plugins.static AgentBuilderAgentBuilder.Default.of(EntryPoint entryPoint, ClassFileVersion classFileVersion, Plugin... plugin) Creates anAgentBuilderthat realizes the provided build plugins.static AgentBuilderCreates anAgentBuilderthat realizes the provided build plugins.static AgentBuilderAgentBuilder.Default.of(ClassFileVersion classFileVersion, List<? extends Plugin> plugins) Creates anAgentBuilderthat realizes the provided build plugins.static AgentBuilderAgentBuilder.Default.of(ClassFileVersion classFileVersion, Plugin... plugin) Creates anAgentBuilderthat realizes the provided build plugins.Warms up the generatedClassFileTransformerto trigger class loading of classes used by the transformer prior to its actual use.AgentBuilder.Default.Delegator.warmUp(Collection<Class<?>> types) Warms up the generatedClassFileTransformerto trigger class loading of classes used by the transformer prior to its actual use.Warms up the generatedClassFileTransformerto trigger class loading of classes used by the transformer prior to its actual use.AgentBuilder.Default.warmUp(Collection<Class<?>> types) Warms up the generatedClassFileTransformerto trigger class loading of classes used by the transformer prior to its actual use.Warms up the generatedClassFileTransformerto trigger class loading of classes used by the transformer prior to its actual use.AgentBuilder.warmUp(Collection<Class<?>> types) Warms up the generatedClassFileTransformerto trigger class loading of classes used by the transformer prior to its actual use.AgentBuilder.Default.Delegator.with(AgentBuilder.CircularityLock circularityLock) Defines a circularity lock that is acquired upon executing code that potentially loads new classes.AgentBuilder.Default.Delegator.with(AgentBuilder.ClassFileBufferStrategy classFileBufferStrategy) Specifies a class file buffer strategy that determines the use of the buffer supplied to a class file transformer.AgentBuilder.Default.Delegator.with(AgentBuilder.DescriptionStrategy descriptionStrategy) Specifies a strategy to be used for resolvingTypeDescriptionfor any type handled by the created transformer.AgentBuilder.Default.Delegator.with(AgentBuilder.FallbackStrategy fallbackStrategy) Specifies a fallback strategy to that this agent builder applies upon installing an agent and during class file transformation.AgentBuilder.Default.Delegator.with(AgentBuilder.InitializationStrategy initializationStrategy) Defines a given initialization strategy to be applied to generated types.AgentBuilder.Default.Delegator.with(AgentBuilder.InjectionStrategy injectionStrategy) Defines a strategy for injecting auxiliary types into the target class loader.AgentBuilder.Default.Delegator.with(AgentBuilder.InstallationListener installationListener) Adds an installation listener that is notified during installation events.AgentBuilder.Default.Delegator.with(AgentBuilder.LambdaInstrumentationStrategy lambdaInstrumentationStrategy) Enables or disables management of the JVM'sLambdaMetafactorywhich is responsible for creating classes that implement lambda expressions.AgentBuilder.Default.Delegator.with(AgentBuilder.Listener listener) Defines the givenAgentBuilder.Listenerto be notified by the created agent.AgentBuilder.Default.Delegator.with(AgentBuilder.LocationStrategy locationStrategy) Defines the use of the given location strategy for locating binary data to given class names.AgentBuilder.Default.Delegator.with(AgentBuilder.PoolStrategy poolStrategy) Defines the use of the given type locator for locating aTypeDescriptionfor an instrumented type.AgentBuilder.Default.Delegator.with(AgentBuilder.TransformerDecorator transformerDecorator) Adds a decorator for the created class file transformer.AgentBuilder.Default.Delegator.with(AgentBuilder.TypeStrategy typeStrategy) Defines how types should be transformed, e.g.Defines the givenByteBuddyinstance to be used by the created agent.AgentBuilder.Default.Delegator.with(ClassFileLocator classFileLocator) Registers an additional class file locator for types that are globally available but cannot be located otherwise.AgentBuilder.Default.with(AgentBuilder.CircularityLock circularityLock) Defines a circularity lock that is acquired upon executing code that potentially loads new classes.AgentBuilder.Default.with(AgentBuilder.ClassFileBufferStrategy classFileBufferStrategy) Specifies a class file buffer strategy that determines the use of the buffer supplied to a class file transformer.AgentBuilder.Default.with(AgentBuilder.DescriptionStrategy descriptionStrategy) Specifies a strategy to be used for resolvingTypeDescriptionfor any type handled by the created transformer.AgentBuilder.Default.with(AgentBuilder.FallbackStrategy fallbackStrategy) Specifies a fallback strategy to that this agent builder applies upon installing an agent and during class file transformation.AgentBuilder.Default.with(AgentBuilder.InitializationStrategy initializationStrategy) Defines a given initialization strategy to be applied to generated types.AgentBuilder.Default.with(AgentBuilder.InjectionStrategy injectionStrategy) Defines a strategy for injecting auxiliary types into the target class loader.AgentBuilder.Default.with(AgentBuilder.InstallationListener installationListener) Adds an installation listener that is notified during installation events.AgentBuilder.Default.with(AgentBuilder.LambdaInstrumentationStrategy lambdaInstrumentationStrategy) Enables or disables management of the JVM'sLambdaMetafactorywhich is responsible for creating classes that implement lambda expressions.AgentBuilder.Default.with(AgentBuilder.Listener listener) Defines the givenAgentBuilder.Listenerto be notified by the created agent.AgentBuilder.Default.with(AgentBuilder.LocationStrategy locationStrategy) Defines the use of the given location strategy for locating binary data to given class names.AgentBuilder.Default.with(AgentBuilder.PoolStrategy poolStrategy) Defines the use of the given type locator for locating aTypeDescriptionfor an instrumented type.AgentBuilder.Default.with(AgentBuilder.TransformerDecorator transformerDecorator) Adds a decorator for the created class file transformer.AgentBuilder.Default.with(AgentBuilder.TypeStrategy typeStrategy) Defines how types should be transformed, e.g.Defines the givenByteBuddyinstance to be used by the created agent.AgentBuilder.Default.with(ClassFileLocator classFileLocator) Registers an additional class file locator for types that are globally available but cannot be located otherwise.AgentBuilder.with(AgentBuilder.CircularityLock circularityLock) Defines a circularity lock that is acquired upon executing code that potentially loads new classes.AgentBuilder.with(AgentBuilder.ClassFileBufferStrategy classFileBufferStrategy) Specifies a class file buffer strategy that determines the use of the buffer supplied to a class file transformer.AgentBuilder.with(AgentBuilder.DescriptionStrategy descriptionStrategy) Specifies a strategy to be used for resolvingTypeDescriptionfor any type handled by the created transformer.AgentBuilder.with(AgentBuilder.FallbackStrategy fallbackStrategy) Specifies a fallback strategy to that this agent builder applies upon installing an agent and during class file transformation.AgentBuilder.with(AgentBuilder.InitializationStrategy initializationStrategy) Defines a given initialization strategy to be applied to generated types.AgentBuilder.with(AgentBuilder.InjectionStrategy injectionStrategy) Defines a strategy for injecting auxiliary types into the target class loader.AgentBuilder.with(AgentBuilder.InstallationListener installationListener) Adds an installation listener that is notified during installation events.AgentBuilder.with(AgentBuilder.LambdaInstrumentationStrategy lambdaInstrumentationStrategy) Enables or disables management of the JVM'sLambdaMetafactorywhich is responsible for creating classes that implement lambda expressions.AgentBuilder.with(AgentBuilder.Listener listener) Defines the givenAgentBuilder.Listenerto be notified by the created agent.AgentBuilder.with(AgentBuilder.LocationStrategy locationStrategy) Defines the use of the given location strategy for locating binary data to given class names.AgentBuilder.with(AgentBuilder.PoolStrategy poolStrategy) Defines the use of the given type locator for locating aTypeDescriptionfor an instrumented type.AgentBuilder.with(AgentBuilder.TransformerDecorator transformerDecorator) Adds a decorator for the created class file transformer.AgentBuilder.with(AgentBuilder.TypeStrategy typeStrategy) Defines how types should be transformed, e.g.Defines the givenByteBuddyinstance to be used by the created agent.AgentBuilder.with(ClassFileLocator classFileLocator) Registers an additional class file locator for types that are globally available but cannot be located otherwise.