/** * Set the parent. * * @param parent the parent. */ public void setParent(Loader parent) { this.parent = parent; fixUpParent(); }
/** * Set the parent. * * @param parent the parent. */ public void setParent(Loader parent) { this.parent = parent; fixUpParent(); }
/** * Create a new ClassLoaderDomain with the {@link ParentPolicy#BEFORE} loading rules. * * @param name the name of the domain * @throws IllegalArgumentException for a null name */ public ClassLoaderDomain(String name) { if (name == null) throw new IllegalArgumentException("Null name"); this.name = name; fixUpParent(); }
/** * Create a new ClassLoaderDomain with the {@link ParentPolicy#BEFORE} loading rules. * * @param name the name of the domain * @throws IllegalArgumentException for a null name */ public ClassLoaderDomain(String name) { if (name == null) throw new IllegalArgumentException("Null name"); this.name = name; fixUpParent(); }