/** * Create a scoped classloader domain using the test domain as parent * using the parent last policy * * @param name the name * @return the domain */ public ClassLoaderDomain createScopedClassLoaderDomainParentLast(String name) { return createScopedClassLoaderDomain(name, ParentPolicy.AFTER_BUT_JAVA_BEFORE, getDomain()); }
/** * Create a scoped classloader domain using the test domain as parent * using the parent first policy * * @param name the name * @return the domain */ public ClassLoaderDomain createScopedClassLoaderDomainParentFirst(String name) { return createScopedClassLoaderDomain(name, ParentPolicy.BEFORE, getDomain()); }
/** * Create a scoped classloader domain using the test domain as parent * using the parent last policy * * @param name the name * @return the domain */ public ClassLoaderDomain createScopedClassLoaderDomainParentLast(String name) { return createScopedClassLoaderDomain(name, ParentPolicy.AFTER_BUT_JAVA_BEFORE, getDomain()); }
/** * Create a scoped classloader domain using the test domain as parent * * @param name the name * @param parentPolicy the parent policy * @return the domain */ public ClassLoaderDomain createScopedClassLoaderDomain(String name, ParentPolicy parentPolicy) { return createScopedClassLoaderDomain(name, parentPolicy, getDomain()); }
/** * Create a scoped classloader domain using the test domain as parent * using the parent first policy * * @param name the name * @return the domain */ public ClassLoaderDomain createScopedClassLoaderDomainParentFirst(String name) { return createScopedClassLoaderDomain(name, ParentPolicy.BEFORE, getDomain()); }
/** * Create a scoped classloader domain using the test domain as parent * * @param name the name * @param parentPolicy the parent policy * @return the domain */ public ClassLoaderDomain createScopedClassLoaderDomain(String name, ParentPolicy parentPolicy) { return createScopedClassLoaderDomain(name, parentPolicy, getDomain()); }