protected static class AgentBuilder.RedefinitionStrategy.Collector.ForRetransformation extends AgentBuilder.RedefinitionStrategy.Collector
AgentBuilder.RedefinitionStrategy.Collector.ForRedefinition, AgentBuilder.RedefinitionStrategy.Collector.ForRetransformation| Modifier | Constructor and Description |
|---|---|
protected |
ForRetransformation(AgentBuilder.Default.Transformation transformation)
Creates a new collector for a retransformation.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
doApply(Instrumentation instrumentation,
AgentBuilder.CircularityLock circularityLock,
List<Class<?>> types,
AgentBuilder.LocationStrategy locationStrategy,
AgentBuilder.Listener listener)
Applies this collector.
|
apply, consider, consider, toStringprotected ForRetransformation(AgentBuilder.Default.Transformation transformation)
transformation - The transformation defined by the built agent.protected void doApply(Instrumentation instrumentation, AgentBuilder.CircularityLock circularityLock, List<Class<?>> types, AgentBuilder.LocationStrategy locationStrategy, AgentBuilder.Listener listener) throws UnmodifiableClassException
AgentBuilder.RedefinitionStrategy.CollectordoApply in class AgentBuilder.RedefinitionStrategy.Collectorinstrumentation - The instrumentation instance to apply the transformation for.circularityLock - The circularity lock to use.types - The types of the current patch to transform.locationStrategy - The location strategy to use.listener - the listener to notify.UnmodifiableClassException - If a class is not modifiable.Copyright © 2014–2016. All rights reserved.