Package org.jboss.metadata.ear.spec

Examples of org.jboss.metadata.ear.spec.AbstractModule


            ModuleMetaData moduleMetaData = appMetaData.getModule(filename);
            int type = typeFromSuffix(filename, vfArchive);
            if (type >= 0 && moduleMetaData == null)
            {
               moduleMetaData = new ModuleMetaData();
               AbstractModule module = null;
               switch(type)
               {
                  case J2eeModuleMetaData.EJB:
                     module = new EjbModuleMetaData();
                     break;
                  case J2eeModuleMetaData.CLIENT:
                     module = new JavaModuleMetaData();
                     break;
                  case J2eeModuleMetaData.CONNECTOR:
                     module = new ConnectorModuleMetaData();
                     break;
                  case J2eeModuleMetaData.SERVICE:
                  case J2eeModuleMetaData.HAR:
                     module = new ServiceModuleMetaData();
                     break;
                  case J2eeModuleMetaData.WEB:
                     module = new WebModuleMetaData();
                     break;
               }
               module.setFileName(filename);
               moduleMetaData.setValue(module);
               modules.add(moduleMetaData);
            }
         }
      }
View Full Code Here


            ModuleMetaData moduleMetaData = appMetaData.getModule(filename);
            int type = typeFromSuffix(filename, vfArchive);
            if (type >= 0 && moduleMetaData == null)
            {
               moduleMetaData = new ModuleMetaData();
               AbstractModule module = null;
               switch(type)
               {
                  case J2eeModuleMetaData.EJB:
                     module = new EjbModuleMetaData();
                     break;
                  case J2eeModuleMetaData.CLIENT:
                     module = new JavaModuleMetaData();
                     break;
                  case J2eeModuleMetaData.CONNECTOR:
                     module = new ConnectorModuleMetaData();
                     break;
                  case J2eeModuleMetaData.SERVICE:
                  case J2eeModuleMetaData.HAR:
                     module = new ServiceModuleMetaData();
                     break;
                  case J2eeModuleMetaData.WEB:
                     module = new WebModuleMetaData();
                     break;
               }
               module.setFileName(filename);
               moduleMetaData.setValue(module);
               modules.add(moduleMetaData);
            }
         }
      }
View Full Code Here

            ModuleMetaData moduleMetaData = j2eeMetaData.getModule(filename);
            int type = typeFromSuffix(unit, filename, vfArchive);
            if (type >= 0 && moduleMetaData == null)
            {
               moduleMetaData = new ModuleMetaData();
               AbstractModule module = null;
               switch(type)
               {
                  case J2eeModuleMetaData.EJB:
                     module = new EjbModuleMetaData();
                     break;
                  case J2eeModuleMetaData.CLIENT:
                     module = new JavaModuleMetaData();
                     break;
                  case J2eeModuleMetaData.CONNECTOR:
                     module = new ConnectorModuleMetaData();
                     break;
                  case J2eeModuleMetaData.SERVICE:
                  case J2eeModuleMetaData.HAR:
                     module = new ServiceModuleMetaData();
                     break;
                  case J2eeModuleMetaData.WEB:
                     module = new WebModuleMetaData();
                     break;
               }
               module.setFileName(filename);
               moduleMetaData.setValue(module);
               modules.add(moduleMetaData);
            }
         }
      }
View Full Code Here

/* 311 */         ModuleMetaData moduleMetaData = appMetaData.getModule(filename);
/* 312 */         int type = typeFromSuffix(filename, vfArchive);
/* 313 */         if ((type >= 0) && (moduleMetaData == null))
/*     */         {
/* 315 */           moduleMetaData = new ModuleMetaData();
/* 316 */           AbstractModule module = null;
/* 317 */           switch (type)
/*     */           {
/*     */           case 0:
/* 320 */             module = new EjbModuleMetaData();
/* 321 */             break;
/*     */           case 2:
/* 323 */             module = new JavaModuleMetaData();
/* 324 */             break;
/*     */           case 3:
/* 326 */             module = new ConnectorModuleMetaData();
/* 327 */             break;
/*     */           case 4:
/*     */           case 5:
/* 330 */             module = new ServiceModuleMetaData();
/* 331 */             break;
/*     */           case 1:
/* 333 */             module = new WebModuleMetaData();
/*     */           }
/*     */
/* 336 */           module.setFileName(filename);
/* 337 */           moduleMetaData.setValue(module);
/* 338 */           modules.add(moduleMetaData);
/*     */         }
/*     */       }
/*     */     }
View Full Code Here

/* 190 */         ModuleMetaData moduleMetaData = j2eeMetaData.getModule(filename);
/* 191 */         int type = typeFromSuffix(unit, filename, vfArchive);
/* 192 */         if ((type >= 0) && (moduleMetaData == null))
/*     */         {
/* 194 */           moduleMetaData = new ModuleMetaData();
/* 195 */           AbstractModule module = null;
/* 196 */           switch (type)
/*     */           {
/*     */           case 0:
/* 199 */             module = new EjbModuleMetaData();
/* 200 */             break;
/*     */           case 2:
/* 202 */             module = new JavaModuleMetaData();
/* 203 */             break;
/*     */           case 3:
/* 205 */             module = new ConnectorModuleMetaData();
/* 206 */             break;
/*     */           case 4:
/*     */           case 5:
/* 209 */             module = new ServiceModuleMetaData();
/* 210 */             break;
/*     */           case 1:
/* 212 */             module = new WebModuleMetaData();
/*     */           }
/*     */
/* 215 */           module.setFileName(filename);
/* 216 */           moduleMetaData.setValue(module);
/* 217 */           modules.add(moduleMetaData);
/*     */         }
/*     */       }
/*     */     }
View Full Code Here

TOP

Related Classes of org.jboss.metadata.ear.spec.AbstractModule

Copyright © 2018 www.massapicom. 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.