protected class AgentBuilder.Default.ExecutingTransformer.ExecutionDispatcher extends Object implements PrivilegedAction<byte[]>
AccessControlContext
is used to limit the available privileges to the intersection
of privileges during the transformation process.Modifier | Constructor and Description |
---|---|
protected |
ExecutionDispatcher(JavaModule module,
ClassLoader classLoader,
String binaryTypeName,
Class<?> classBeingRedefined,
ProtectionDomain protectionDomain,
byte[] binaryRepresentation)
Creates a new execution dispatcher.
|
protected ExecutionDispatcher(JavaModule module, ClassLoader classLoader, String binaryTypeName, Class<?> classBeingRedefined, ProtectionDomain protectionDomain, byte[] binaryRepresentation)
module
- The Java module of the transformed class or null
if the current VM does not support modules.classLoader
- The type's class loader or null
if it is the bootstrap class loader.binaryTypeName
- The type's internal name or null
if no such name exists.classBeingRedefined
- The class being redefined or null
if no such class exists.protectionDomain
- The type's protection domain.binaryRepresentation
- The type's binary representation.public byte[] run()
run
in interface PrivilegedAction<byte[]>
Copyright © 2014–2016. All rights reserved.