/* 123 */ return;
/* */ }
/* */
/* 126 */ this.log.debug("********* " + getClass().getSimpleName() + " Begin Unit: " + unit.getSimpleName() + " jar: " + jar.getName());
/* */
/* 128 */ DeploymentScope scope = null;
/* 129 */ VFSDeploymentUnit parent = unit.getParent();
/* 130 */ if ((parent != null) && (parent.getSimpleName().endsWith(".ear")))
/* */ {
/* 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);
/* */
/* 143 */ if (scope != null) scope.register(deployment);
/* */
/* 145 */ deployment.create();
/* 146 */ if ((deployment.getEjbContainers().size() == 0) && (deployment.getPersistenceUnitDeployments().size() == 0))
/* */ {
/* 148 */ this.log.trace("Found no containers in scanned jar, consider adding it to the ignore list: " + jar.getName() + " url: " + jar.toURL() + " unit: " + unit.getSimpleName());