protected static class ByteArrayClassLoader.ClassLoaderCreationAction extends Object implements PrivilegedAction<ClassLoader>
| Modifier | Constructor and Description |
|---|---|
protected |
ClassLoaderCreationAction(ClassLoader parent,
Map<String,byte[]> typeDefinitions,
ProtectionDomain protectionDomain,
AccessControlContext accessControlContext,
ByteArrayClassLoader.PersistenceHandler persistenceHandler,
PackageDefinitionStrategy packageDefinitionStrategy,
boolean childFirst)
Creates a new class loader creation action.
|
protected ClassLoaderCreationAction(ClassLoader parent, Map<String,byte[]> typeDefinitions, ProtectionDomain protectionDomain, AccessControlContext accessControlContext, ByteArrayClassLoader.PersistenceHandler persistenceHandler, PackageDefinitionStrategy packageDefinitionStrategy, boolean childFirst)
parent - The ClassLoader that is the parent of this class loader.typeDefinitions - A map of fully qualified class names pointing to their binary representations.protectionDomain - The protection domain to apply where null references an implicit protection domain.accessControlContext - The access control context to use for loading classes.persistenceHandler - The persistence handler of this class loader.packageDefinitionStrategy - The package definer to be queried for package definitions.childFirst - true if this action should create a child-first class loader.public ClassLoader run()
run in interface PrivilegedAction<ClassLoader>Copyright © 2014–2015. All rights reserved.