See: Description
Interface | Description |
---|---|
AgentBuilder |
An agent builder provides a convenience API for defining a
Java agent.
|
AgentBuilder.BinaryLocator |
A binary locator allows to specify how binary data is located by an
AgentBuilder . |
AgentBuilder.Default.BootstrapInjectionStrategy |
An injection strategy for injecting classes into the bootstrap class loader.
|
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.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.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.InitializerConstructor |
A constructor for creating a
LoadedTypeInitializer if required. |
AgentBuilder.Listener |
A listener that is informed about events that occur during an instrumentation process.
|
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.RedefinitionStrategy.Collector |
A collector is responsible for collecting classes that are to be considered for modification.
|
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.
|
Class | Description |
---|---|
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.NativeMethodStrategy.ForPrefix |
A native method strategy that prefixes method names with a fixed value for supporting rebasing of native methods.
|
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.AuxiliaryTypeInitializer |
An
AgentBuilder.InitializationStrategy.Dispatcher.InitializerConstructor that initializes the instrumented type and
loads and initializes all auxiliary types after the instrumented type was loaded. |
AgentBuilder.Default.Transformation.Simple.Resolution.AuxiliaryTypeInitializer.InjectingInitializer |
A type initializer that injects all auxiliary types of the instrumented type.
|
AgentBuilder.InitializationStrategy.Dispatcher.InitializerConstructor.Simple |
A simple implementation of a lazy constructor for a
LoadedTypeInitializer that simply returns a given instance. |
AgentBuilder.InitializationStrategy.SelfInjection.Dispatcher |
A dispatcher for a self-initialization strategy.
|
AgentBuilder.InitializationStrategy.SelfInjection.Nexus |
This nexus is a global dispatcher for initializing classes with
LoadedTypeInitializer s. |
AgentBuilder.InitializationStrategy.SelfInjection.Nexus.Accessor.InitializationAppender |
A byte code appender for invoking a Nexus for initializing the instrumented type.
|
AgentBuilder.Listener.Compound |
A compound listener that allows to group several listeners in one instance.
|
AgentBuilder.RawMatcher.ForElementMatcherPair |
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.Collector.ForRedefinition |
A collector that applies a redefinition of already loaded classes.
|
AgentBuilder.RedefinitionStrategy.Collector.ForRedefinition.Entry |
An entry describing a type redefinition.
|
AgentBuilder.RedefinitionStrategy.Collector.ForRetransformation |
A collector that applies a retransformation of already loaded classes.
|
AgentBuilder.Transformer.Compound |
A compound transformer that allows to group several
AgentBuilder.Transformer s as a single transformer. |
Enum | Description |
---|---|
AgentBuilder.BinaryLocator.Default |
A default implementation of a
AgentBuilder.BinaryLocator that
is using a TypePool.Default with a
TypePool.CacheProvider.Simple and a
ClassFileLocator.ForClassLoader . |
AgentBuilder.Default.BootstrapInjectionStrategy.Disabled |
A disabled bootstrap injection strategy.
|
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.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.InitializationStrategy.SelfInjection.Nexus.Accessor |
An accessor for making sure that the accessed
AgentBuilder.Default.InitializationStrategy.SelfInjection.Nexus
is loaded by the system class loader. |
AgentBuilder.Listener.NoOp |
A no-op implementation of a
AgentBuilder.Listener . |
AgentBuilder.RedefinitionStrategy |
A redefinition strategy regulates how already loaded classes are modified by a built agent.
|
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.
|
ClassFileTransformer
and Instrumentation
but offers higher-level APIs in order to allow for the implementation of very readable transformations using
ByteBuddy
.Copyright © 2014–2015. All rights reserved.