public static interface ClassLoadingStrategy.Configurable extends ClassLoadingStrategy
ClassLoadingStrategy that allows configuring the strategy's behavior.ClassLoadingStrategy.Configurable, ClassLoadingStrategy.Default, ClassLoadingStrategy.ForBootstrapInjection| Modifier and Type | Method and Description | 
|---|---|
ClassLoadingStrategy.Configurable | 
allowExistingTypes()
Determines if this class loading strategy should not throw an exception when attempting to load a class that
 was already loaded. 
 | 
ClassLoadingStrategy.Configurable | 
withAccessControlContext(AccessControlContext accessControlContext)
Defines the supplied access control context to be used for loading classes. 
 | 
ClassLoadingStrategy.Configurable | 
withPackageDefinitionStrategy(PackageDefinitionStrategy packageDefinitionStrategy)
Defines the supplied package definition strategy to be used for defining packages. 
 | 
ClassLoadingStrategy.Configurable | 
withProtectionDomain(ProtectionDomain protectionDomain)
Overrides the implicitly set default  
ProtectionDomain with an explicit one. | 
loadClassLoadingStrategy.Configurable withProtectionDomain(ProtectionDomain protectionDomain)
ProtectionDomain with an explicit one.protectionDomain - The protection domain to apply.ProtectionDomain.ClassLoadingStrategy.Configurable withPackageDefinitionStrategy(PackageDefinitionStrategy packageDefinitionStrategy)
packageDefinitionStrategy - The package definer to be used.ClassLoadingStrategy.Configurable withAccessControlContext(AccessControlContext accessControlContext)
accessControlContext - The access control context to use for loading classes.ClassLoadingStrategy.Configurable allowExistingTypes()
Copyright © 2014–2016. All rights reserved.