Package org.jboss.deployers.vfs.spi.structure

Examples of org.jboss.deployers.vfs.spi.structure.VFSDeploymentUnit.addAttachment()


      VFSDeploymentUnit topUnit = unit.getTopLevel();
      WebBeanDiscoveryImpl wbdi = topUnit.getAttachment(WebBeanDiscovery.class.getName(), WebBeanDiscoveryImpl.class);
      if (wbdi == null)
      {
         wbdi = new WebBeanDiscoveryImpl();
         topUnit.addAttachment(WebBeanDiscovery.class.getName(), wbdi);
      }

      List<URL> urls = new ArrayList<URL>();

      try
View Full Code Here


/*     */       {
/* 185 */         scope = (DeploymentScope)parent.getAttachment(DeploymentScope.class);
/* 186 */         if (scope == null)
/*     */         {
/* 188 */           scope = new JBoss5DeploymentScope(unit.getParent());
/* 189 */           parent.addAttachment(DeploymentScope.class, scope);
/*     */         }
/*     */       }
/* 192 */       JBoss5DeploymentUnit du = new JBoss5DeploymentUnit(unit);
/* 193 */       du.setDefaultPersistenceProperties(this.defaultPersistenceProperties);
/* 194 */       Ejb3JBoss5Deployment deployment = new Ejb3JBoss5Deployment(du, this.kernel, this.mbeanServer, unit, scope, null, null, null);
View Full Code Here

/*     */       {
/* 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);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.