See: Description
Interface | Description |
---|---|
AgentBuilder |
An agent builder provides a convenience API for defining a
Java agent.
|
AgentBuilder.CircularityLock |
A circularity lock is responsible for preventing that a
ClassFileLocator is used recursively. |
AgentBuilder.Default.BootstrapInjectionStrategy |
An injection strategy for injecting classes into the bootstrap class loader.
|
AgentBuilder.Default.ExecutingTransformer.Factory |
A factory for creating a
ClassFileTransformer for the current VM. |
AgentBuilder.Default.NativeMethodStrategy |
A strategy for determining if a native method name prefix should be used when rebasing methods.
|
AgentBuilder.Default.Transformation |
A transformation serves as a handler for modifying a class.
|
AgentBuilder.Default.Transformation.Resolution |
A resolution to a transformation.
|
AgentBuilder.Default.Transformation.Resolution.Decoratable |
A resolution that can be decorated by a transformer.
|
AgentBuilder.DescriptionStrategy |
A description strategy is responsible for resolving a
TypeDescription when transforming or retransforming/-defining a type. |
AgentBuilder.FallbackStrategy |
A fallback strategy allows to reattempt a transformation or a consideration for redefinition/retransformation in case an exception
occurs.
|
AgentBuilder.Identified |
Describes an
AgentBuilder which was handed a matcher for identifying
types to instrumented in order to supply one or several
AgentBuilder.Transformer s. |
AgentBuilder.Identified.Extendable |
This interface is used to allow for optionally providing several
AgentBuilder.Transformer to applied when a matcher identifies a type
to be instrumented. |
AgentBuilder.Identified.Narrowable |
Allows to specify a type matcher for a type to instrument.
|
AgentBuilder.Ignored |
Allows to further specify ignored types.
|
AgentBuilder.InitializationStrategy |
An initialization strategy which determines the handling of
LoadedTypeInitializer s
and the loading of auxiliary types. |
AgentBuilder.InitializationStrategy.Dispatcher |
A dispatcher for changing a class file to adapt a self-initialization strategy.
|
AgentBuilder.InitializationStrategy.Dispatcher.InjectorFactory |
A factory for creating a
ClassInjector only if it is required. |
AgentBuilder.InstallationStrategy |
An installation strategy determines the reaction to a raised exception after the registration of a
ClassFileTransformer . |
AgentBuilder.Listener |
A listener that is informed about events that occur during an instrumentation process.
|
AgentBuilder.LocationStrategy |
A strategy for creating a
ClassFileLocator when instrumenting a type. |
AgentBuilder.Matchable<T extends AgentBuilder.Matchable<T>> |
An abstraction for extending a matcher.
|
AgentBuilder.PoolStrategy |
A type locator allows to specify how
TypeDescription s are resolved by an AgentBuilder . |
AgentBuilder.RawMatcher |
A matcher that allows to determine if a
AgentBuilder.Transformer
should be applied during the execution of a ClassFileTransformer that was
generated by an AgentBuilder . |
AgentBuilder.RedefinitionListenable |
An agent builder configuration that allows the registration of listeners to the redefinition process.
|
AgentBuilder.RedefinitionListenable.WithoutBatchStrategy |
An agent builder configuration that allows the configuration of a batching strategy.
|
AgentBuilder.RedefinitionStrategy.BatchAllocator |
A batch allocator which is responsible for applying a redefinition in a batches.
|
AgentBuilder.RedefinitionStrategy.Listener |
A listener to be applied during a redefinition.
|
AgentBuilder.Transformer |
A transformer allows to apply modifications to a
DynamicType . |
AgentBuilder.TypeStrategy |
A type strategy is responsible for creating a type builder for a type that is being instrumented.
|
ResettableClassFileTransformer |
A class file transformer that can reset its transformation.
|
ResettableClassFileTransformer.Reset |
A result of a class file transformer reset by a
ResettableClassFileTransformer . |
Class | Description |
---|---|
AgentBuilder.CircularityLock.Default |
A default implementation of a circularity lock.
|
AgentBuilder.Default |
The default implementation of an
AgentBuilder . |
AgentBuilder.Default.BootstrapInjectionStrategy.Enabled |
An enabled bootstrap injection strategy.
|
AgentBuilder.Default.ExecutingTransformer |
A
ClassFileTransformer that implements the enclosing agent builder's
configuration. |
AgentBuilder.Default.ExecutingTransformer.Factory.ForJava9CapableVm |
A factory for a class file transformer on a JVM that supports the
java.lang.reflect.Module API to override
the newly added method of the ClassFileTransformer to capture an instrumented class's module. |
AgentBuilder.Default.ExecutingTransformer.FailureCollectingListener |
A listener that adds all discovered errors to a map.
|
AgentBuilder.Default.NativeMethodStrategy.ForPrefix |
A native method strategy that prefixes method names with a fixed value for supporting rebasing of native methods.
|
AgentBuilder.Default.Redefining |
An implementation of a default agent builder that allows for refinement of the redefinition strategy.
|
AgentBuilder.Default.Transformation.Compound |
A compound transformation that applied several transformation in the given order and applies the first active transformation.
|
AgentBuilder.Default.Transformation.Resolution.Unresolved |
A canonical implementation of a non-resolved resolution.
|
AgentBuilder.Default.Transformation.Simple |
A simple, active transformation.
|
AgentBuilder.Default.Transformation.Simple.Resolution |
A resolution that performs a type transformation.
|
AgentBuilder.Default.Transformation.Simple.Resolution.BootstrapClassLoaderCapableInjectorFactory |
An injector factory that resolves to a bootstrap class loader injection if this is necessary and enabled.
|
AgentBuilder.FallbackStrategy.ByThrowableType |
A fallback strategy that discriminates by the type of the
Throwable that triggered a request. |
AgentBuilder.InitializationStrategy.SelfInjection.Dispatcher |
A dispatcher for a self-initialization strategy.
|
AgentBuilder.InitializationStrategy.SelfInjection.Dispatcher.Eager |
A dispatcher for the
AgentBuilder.InitializationStrategy.SelfInjection.EAGER strategy. |
AgentBuilder.InitializationStrategy.SelfInjection.Dispatcher.InjectingInitializer |
A type initializer that injects all auxiliary types of the instrumented type.
|
AgentBuilder.InitializationStrategy.SelfInjection.Dispatcher.Lazy |
A dispatcher for the
AgentBuilder.InitializationStrategy.SelfInjection.LAZY strategy. |
AgentBuilder.InitializationStrategy.SelfInjection.Dispatcher.Split |
A dispatcher for the
AgentBuilder.InitializationStrategy.SelfInjection.SPLIT strategy. |
AgentBuilder.LambdaInstrumentationStrategy.LambdaInstanceFactory |
A factory that creates instances that represent lambda expressions.
|
AgentBuilder.LambdaInstrumentationStrategy.LambdaInstanceFactory.BridgeMethodImplementation |
Implements an explicit bridge method for a lambda expression.
|
AgentBuilder.LambdaInstrumentationStrategy.LambdaInstanceFactory.BridgeMethodImplementation.Appender |
An appender for implementing a bridge method for a lambda expression.
|
AgentBuilder.LambdaInstrumentationStrategy.LambdaInstanceFactory.ConstructorImplementation.Appender |
An appender to implement the executing transformer.
|
AgentBuilder.LambdaInstrumentationStrategy.LambdaInstanceFactory.FactoryImplementation.Appender |
An appender for a lambda expression factory.
|
AgentBuilder.LambdaInstrumentationStrategy.LambdaInstanceFactory.LambdaMethodImplementation |
Implements a lambda expression's functional method.
|
AgentBuilder.LambdaInstrumentationStrategy.LambdaInstanceFactory.LambdaMethodImplementation.Appender |
An appender for a lambda expression's functional method.
|
AgentBuilder.LambdaInstrumentationStrategy.LambdaInstanceFactory.SerializationImplementation |
Implements the
writeReplace method for serializable lambda expressions. |
AgentBuilder.Listener.Adapter |
An adapter for a listener wher all methods are implemented as non-operational.
|
AgentBuilder.Listener.Compound |
A compound listener that allows to group several listeners in one instance.
|
AgentBuilder.Listener.Filtering |
A listener that filters types with a given name from being logged.
|
AgentBuilder.Listener.ModuleReadEdgeCompleting |
A listener that adds read-edges to any module of an instrumented class upon its transformation.
|
AgentBuilder.Listener.StreamWriting |
A listener that writes events to a
PrintStream . |
AgentBuilder.LocationStrategy.Compound |
A compound location strategy that applies a list of location strategies.
|
AgentBuilder.LocationStrategy.Simple |
A simple location strategy that queries a given class file locator.
|
AgentBuilder.Matchable.AbstractBase<S extends AgentBuilder.Matchable<S>> |
An abstract base implementation of a matchable.
|
AgentBuilder.PoolStrategy.WithTypePoolCache |
A type locator that uses type pools but allows for the configuration of a custom cache provider by class loader.
|
AgentBuilder.PoolStrategy.WithTypePoolCache.Simple |
An implementation of a type locator
AgentBuilder.PoolStrategy.WithTypePoolCache (note documentation of the linked class) that is based on a
ConcurrentMap . |
AgentBuilder.RawMatcher.Conjunction |
A conjunction of two raw matchers.
|
AgentBuilder.RawMatcher.Disjunction |
A disjunction of two raw matchers.
|
AgentBuilder.RawMatcher.ForElementMatchers |
A raw matcher implementation that checks a
TypeDescription
and its ClassLoader against two suitable matchers in order to determine if the matched
type should be instrumented. |
AgentBuilder.RedefinitionStrategy.BatchAllocator.ForFixedSize |
A batch allocator that creates chunks with a fixed size as batch jobs.
|
AgentBuilder.RedefinitionStrategy.BatchAllocator.ForMatchedGrouping |
A batch allocator that groups all batches by discriminating types using a type matcher.
|
AgentBuilder.RedefinitionStrategy.BatchAllocator.Slicing |
A slicing batch allocator that assures that any batch is within a certain size range.
|
AgentBuilder.RedefinitionStrategy.BatchAllocator.Slicing.SlicingIterable |
An iterable that slices batches into parts of a minimum and maximum size.
|
AgentBuilder.RedefinitionStrategy.BatchAllocator.Slicing.SlicingIterable.SlicingIterator |
An iterator that slices batches into parts of a minimum and maximum size.
|
AgentBuilder.RedefinitionStrategy.Collector |
A collector is responsible for collecting classes that are to be considered for modification.
|
AgentBuilder.RedefinitionStrategy.Collector.ForRedefinition |
A collector that applies a redefinition of already loaded classes.
|
AgentBuilder.RedefinitionStrategy.Collector.ForRetransformation |
A collector that applies a retransformation of already loaded classes.
|
AgentBuilder.RedefinitionStrategy.Listener.Adapter |
A listener adapter that offers non-operational implementations of all listener methods.
|
AgentBuilder.RedefinitionStrategy.Listener.Compound |
A compound listener that delegates events to several listeners.
|
AgentBuilder.RedefinitionStrategy.Listener.Pausing |
A listener that invokes
Thread.sleep(long) prior to every batch but the first batch. |
AgentBuilder.RedefinitionStrategy.Listener.StreamWriting |
A listener that writes events to a
PrintStream . |
AgentBuilder.Transformer.Compound |
A compound transformer that allows to group several
AgentBuilder.Transformer s as a single transformer. |
AgentBuilder.Transformer.ForBuildPlugin |
A transformer that applies a build
Plugin . |
AgentBuilder.TypeStrategy.ForBuildEntryPoint |
A type strategy that applies a build
EntryPoint . |
LambdaFactory |
This class serves as a dispatcher for creating lambda expression objects when Byte Buddy is configured to instrument the
java.lang.invoke.LambdaMetafactory . |
ResettableClassFileTransformer.AbstractBase |
An abstract base implementation of a
ResettableClassFileTransformer . |
ResettableClassFileTransformer.Reset.WithErrors |
A result with a map of errors.
|
Enum | Description |
---|---|
AgentBuilder.CircularityLock.Inactive |
An inactive circularity lock which is always acquirable.
|
AgentBuilder.Default.BootstrapInjectionStrategy.Disabled |
A disabled bootstrap injection strategy.
|
AgentBuilder.Default.ExecutingTransformer.Factory.ForLegacyVm |
A factory for a
ClassFileTransformer on a VM that does not support the java.lang.reflect.Module API. |
AgentBuilder.Default.ExecutingTransformer.FactoryCreationOption |
An action to create an implementation of
AgentBuilder.Default.ExecutingTransformer that support Java 9 modules. |
AgentBuilder.Default.NativeMethodStrategy.Disabled |
A native method strategy that suffixes method names with a random suffix and disables native method rebasement.
|
AgentBuilder.Default.Transformation.Ignored |
A transformation that does not attempt to transform any type.
|
AgentBuilder.Default.Transformation.Resolution.Sort |
Describes a specific sort of a
AgentBuilder.Default.Transformation.Resolution . |
AgentBuilder.DescriptionStrategy.Default |
Default implementations of a
AgentBuilder.DescriptionStrategy . |
AgentBuilder.FallbackStrategy.Simple |
A simple fallback strategy that either always reattempts a transformation or never does so.
|
AgentBuilder.InitializationStrategy.Minimal |
An initialization strategy that loads auxiliary types before loading the instrumented type.
|
AgentBuilder.InitializationStrategy.NoOp |
A non-initializing initialization strategy.
|
AgentBuilder.InitializationStrategy.SelfInjection |
An initialization strategy that adds a code block to an instrumented type's type initializer which
then calls a specific class that is responsible for the explicit initialization.
|
AgentBuilder.InstallationStrategy.Default |
Default implementations of installation strategies.
|
AgentBuilder.LambdaInstrumentationStrategy |
Implements the instrumentation of the
LambdaMetafactory if this feature is enabled. |
AgentBuilder.LambdaInstrumentationStrategy.AlternativeMetaFactoryRedirection |
Implements the alternative lambda meta factory.
|
AgentBuilder.LambdaInstrumentationStrategy.LambdaInjector |
An injector for injecting the lambda class dispatcher to the system class path.
|
AgentBuilder.LambdaInstrumentationStrategy.LambdaInstanceFactory.ConstructorImplementation |
Implements a lambda class's executing transformer.
|
AgentBuilder.LambdaInstrumentationStrategy.LambdaInstanceFactory.FactoryImplementation |
An implementation of a instance factory for a lambda expression's class.
|
AgentBuilder.LambdaInstrumentationStrategy.MetaFactoryRedirection |
Implements the regular lambda meta factory.
|
AgentBuilder.Listener.NoOp |
A no-op implementation of a
AgentBuilder.Listener . |
AgentBuilder.LocationStrategy.ForClassLoader |
A location strategy that locates class files by querying an instrumented type's
ClassLoader . |
AgentBuilder.LocationStrategy.NoOp |
A location strategy that never locates any byte code.
|
AgentBuilder.PoolStrategy.ClassLoading |
A type locator that attempts loading a type if it cannot be located by the underlying lazy type pool.
|
AgentBuilder.PoolStrategy.Default |
A default type locator that resolves types only if any property that is not the type's name is requested.
|
AgentBuilder.PoolStrategy.Eager |
A type locator that resolves all type descriptions eagerly.
|
AgentBuilder.RedefinitionStrategy |
A redefinition strategy regulates how already loaded classes are modified by a built agent.
|
AgentBuilder.RedefinitionStrategy.BatchAllocator.ForTotal |
A batch allocator that includes all types in a single batch.
|
AgentBuilder.RedefinitionStrategy.Listener.ErrorEscalating |
A listener that halts a retransformation process upon an exception.
|
AgentBuilder.RedefinitionStrategy.Listener.NoOp |
A non-operational listener.
|
AgentBuilder.RedefinitionStrategy.Listener.Yielding |
A listener that invokes
Thread.yield() prior to every batch but the first batch. |
AgentBuilder.Transformer.NoOp |
A no-op implementation of a
AgentBuilder.Transformer that does
not modify the supplied dynamic type. |
AgentBuilder.TypeStrategy.Default |
Default implementations of type strategies.
|
ResettableClassFileTransformer.Reset.Simple |
A simple result without errors.
|
ClassFileTransformer
and Instrumentation
but offers higher-level APIs in order to allow for the implementation of very readable transformations using
ByteBuddy
.Copyright © 2014–2016. All rights reserved.