protected static class AgentBuilder.RedefinitionStrategy.Collector.ForRetransformation extends AgentBuilder.RedefinitionStrategy.Collector
AgentBuilder.RedefinitionStrategy.Collector.ForRedefinition, AgentBuilder.RedefinitionStrategy.Collector.ForRetransformationtransformation, types| 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.
|
String |
toString() |
apply, consider, considerprotected 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.public String toString()
toString in class AgentBuilder.RedefinitionStrategy.CollectorCopyright © 2014–2016. All rights reserved.