/* */ {
/* 132 */ scope = (DeploymentScope)parent.getAttachment(DeploymentScope.class);
/* 133 */ if (scope == null)
/* */ {
/* 135 */ scope = new JBoss5DeploymentScope(unit.getParent());
/* 136 */ parent.addAttachment(DeploymentScope.class, scope);
/* */ }
/* */ }
/* 139 */ JBoss5DeploymentUnit du = new JBoss5DeploymentUnit(unit);
/* 140 */ du.setDefaultPersistenceProperties(this.defaultPersistenceProperties);
/* 141 */ Ejb3JBoss5Deployment deployment = new Ejb3JBoss5Deployment(du, this.kernel, this.mbeanServer, unit, scope, metaData, persistenceUnitsMetaData, this);