Examples of wasJava2ClassLoadingComplianceSet()


Examples of org.jboss.metadata.web.jboss.ClassLoadingMetaData.wasJava2ClassLoadingComplianceSet()

         ClassLoadingMetaData classLoading = metaData.getClassLoading();
         if (classLoading == null)
            classLoading = new ClassLoadingMetaData();
         // pass in the java2ClassLoadingCompliance if it was not set at the war level
         if (classLoading.wasJava2ClassLoadingComplianceSet() == false)
            classLoading.setJava2ClassLoadingCompliance(this.java2ClassLoadingCompliance);
         metaData.setClassLoading(classLoading);

         // Build the context root if its not been set or is specified at the ear
         String webContext = metaData.getContextRoot();
View Full Code Here

Examples of org.jboss.metadata.web.jboss.ClassLoadingMetaData.wasJava2ClassLoadingComplianceSet()

   {
      JBossWebMetaData jbossWeb = unmarshal();
      ClassLoadingMetaData classLoading = jbossWeb.getClassLoading();
      assertNotNull(classLoading);
      assertEquals(true, classLoading.isJava2ClassLoadingCompliance());
      assertEquals(true, classLoading.wasJava2ClassLoadingComplianceSet());
   }
  
   public void testClassLoading42()
      throws Exception
   {
View Full Code Here

Examples of org.jboss.metadata.web.jboss.ClassLoadingMetaData.wasJava2ClassLoadingComplianceSet()

   {
      JBossWebMetaData jbossWeb = unmarshal(JBoss4xDTDWebMetaData.class);
      ClassLoadingMetaData classLoading = jbossWeb.getClassLoading();
      assertNotNull(classLoading);
      assertEquals(false, classLoading.isJava2ClassLoadingCompliance());
      assertEquals(false, classLoading.wasJava2ClassLoadingComplianceSet());
      LoaderRepositoryMetaData lrmd = classLoading.getLoaderRepository();
      assertNull(lrmd.getName());
   }
  
   public void testIsJaacAllStoreRole() throws Exception
View Full Code Here

Examples of org.jboss.metadata.web.jboss.ClassLoadingMetaData.wasJava2ClassLoadingComplianceSet()

         {
            classLoading = new ClassLoadingMetaData();
            metaData.setClassLoading(classLoading);
         }
         // pass in the java2ClassLoadingCompliance if it was not set at the war level
         if (classLoading.wasJava2ClassLoadingComplianceSet() == false)
            classLoading.setJava2ClassLoadingCompliance(java2ClassLoadingCompliance);

         // Build the context root if its not been set or is specified at the ear
         String webContext = metaData.getContextRoot();
         webContext = buildWebContext(webContext, warName, metaData, unit);
View Full Code Here

Examples of org.jboss.metadata.web.jboss.ClassLoadingMetaData.wasJava2ClassLoadingComplianceSet()

/*     */
/* 423 */       ClassLoadingMetaData classLoading = metaData.getClassLoading();
/* 424 */       if (classLoading == null) {
/* 425 */         classLoading = new ClassLoadingMetaData();
/*     */       }
/* 427 */       if (!classLoading.wasJava2ClassLoadingComplianceSet())
/* 428 */         classLoading.setJava2ClassLoadingCompliance(this.java2ClassLoadingCompliance);
/* 429 */       metaData.setClassLoading(classLoading);
/*     */
/* 432 */       String webContext = metaData.getContextRoot();
/* 433 */       webContext = buildWebContext(webContext, warName, metaData, unit);
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.