public static interface ClassLoadingStrategy.WithDefaultProtectionDomain extends ClassLoadingStrategy
ClassLoadingStrategy
that applies a default ProtectionDomain
.ClassLoadingStrategy.Default, ClassLoadingStrategy.ForBootstrapInjection, ClassLoadingStrategy.WithDefaultProtectionDomain
Modifier and Type | Method and Description |
---|---|
ClassLoadingStrategy |
withProtectionDomain(ProtectionDomain protectionDomain)
Overrides the implicitly set default
ProtectionDomain with an explicit one. |
load
ClassLoadingStrategy withProtectionDomain(ProtectionDomain protectionDomain)
ProtectionDomain
with an explicit one.protectionDomain
- The protection domain to apply.ProtectionDomain
.Copyright © 2014–2015. All rights reserved.