{
String name = deployment.getName();
if (name == null || "<unknown>".equals(name))
name = unit.getName();
ParentPolicyMetaData ppmd = deployment.getParentPolicy();
ParentPolicy pp = (ppmd != null) ? ppmd.createParentPolicy() : ParentPolicy.BEFORE;
Loader parent = null;
String parentDomain = deployment.getParentDomain();
LoaderMetaData lmd = deployment.getParent();
if (parentDomain != null && lmd != null)