protected static class AgentBuilder.Default.Transformation.Simple.Resolution extends Object implements AgentBuilder.Default.Transformation.Resolution.Decoratable
| Modifier and Type | Class and Description |
|---|---|
protected static class |
AgentBuilder.Default.Transformation.Simple.Resolution.BootstrapClassLoaderCapableInjectorFactory
An injector factory that resolves to a bootstrap class loader injection if this is necessary and enabled.
|
AgentBuilder.Default.Transformation.Resolution.Decoratable, AgentBuilder.Default.Transformation.Resolution.Sort, AgentBuilder.Default.Transformation.Resolution.Unresolved| Modifier | Constructor and Description |
|---|---|
protected |
Resolution(TypeDescription typeDescription,
ClassLoader classLoader,
ProtectionDomain protectionDomain,
AgentBuilder.Transformer transformer,
boolean decorator)
Creates a new active transformation.
|
protected Resolution(TypeDescription typeDescription, ClassLoader classLoader, ProtectionDomain protectionDomain, AgentBuilder.Transformer transformer, boolean decorator)
typeDescription - A description of the transformed type.classLoader - The class loader of the transformed type.protectionDomain - The protection domain of the transformed type.transformer - The transformer to be applied.decorator - true if this transformer serves as a decorator.public AgentBuilder.Default.Transformation.Resolution.Sort getSort()
AgentBuilder.Default.Transformation.ResolutiongetSort in interface AgentBuilder.Default.Transformation.Resolutionpublic AgentBuilder.Default.Transformation.Resolution asDecoratorOf(AgentBuilder.Default.Transformation.Resolution resolution)
AgentBuilder.Default.Transformation.ResolutionasDecoratorOf in interface AgentBuilder.Default.Transformation.Resolutionresolution - The resolution for which this resolution should serve as a decorator.public AgentBuilder.Default.Transformation.Resolution prepend(AgentBuilder.Default.Transformation.Resolution.Decoratable resolution)
AgentBuilder.Default.Transformation.Resolutionprepend in interface AgentBuilder.Default.Transformation.Resolutionresolution - The resolution for which this resolution should serve as a decorator.public AgentBuilder.Default.Transformation.Resolution append(AgentBuilder.Transformer transformer)
AgentBuilder.Default.Transformation.Resolution.Decoratableappend in interface AgentBuilder.Default.Transformation.Resolution.Decoratabletransformer - The transformer to append to the transformer that is represented bz this instance.public byte[] apply(AgentBuilder.InitializationStrategy initializationStrategy, ClassFileLocator classFileLocator, AgentBuilder.TypeStrategy typeStrategy, ByteBuddy byteBuddy, AgentBuilder.Default.NativeMethodStrategy methodNameTransformer, AgentBuilder.Default.BootstrapInjectionStrategy bootstrapInjectionStrategy, AccessControlContext accessControlContext, AgentBuilder.Listener listener)
AgentBuilder.Default.Transformation.Resolutionnull if a type is not to be transformed.apply in interface AgentBuilder.Default.Transformation.ResolutioninitializationStrategy - The initialization strategy to use.classFileLocator - The class file locator to use.typeStrategy - The definition handler to use.byteBuddy - The Byte Buddy instance to use.methodNameTransformer - The method name transformer to be used.bootstrapInjectionStrategy - The bootstrap injection strategy to be used.accessControlContext - The access control context to be used.listener - The listener to be invoked to inform about an applied or non-applied transformation.null if no transformation is attempted.Copyright © 2014–2016. All rights reserved.