Package org.jboss.metadata.ear.spec

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


   }

   public void merge(JBossAppMetaData override, EarMetaData original)
   {
      super.merge(override, original);
      Ear5xMetaData original5x = null;
      if(original instanceof Ear5xMetaData)
         original5x = (Ear5xMetaData) original;

      if(override != null)
      {
         if(override.dtdPublicId != null)
            this.dtdPublicId = override.dtdPublicId;
         if(override.dtdSystemId != null)
            this.dtdSystemId = override.dtdSystemId;
         if(override.version != null)
            this.version = override.version;
         if(override.securityDomain != null)
            setSecurityDomain(override.securityDomain);
         if(override.loaderRepository != null)
            setLoaderRepository(override.loaderRepository);
         if(override.unauthenticatedPrincipal != null)
            setUnauthenticatedPrincipal(override.unauthenticatedPrincipal);
         if(override.unauthenticatedPrincipal != null)
            setUnauthenticatedPrincipal(override.unauthenticatedPrincipal);
         if(override.libraryDirectory != null)
            setLibraryDirectory(override.libraryDirectory);
         else if(original5x != null && original5x.getLibraryDirectory() != null)
            setLibraryDirectory(original5x.getLibraryDirectory());
         if(override.jmxName != null)
            setJmxName(override.jmxName);
      }
      else if(original5x != null && original5x.getLibraryDirectory() != null)
         setLibraryDirectory(original5x.getLibraryDirectory());

      if(modules == null)
         modules = new ModulesMetaData();
      ModulesMetaData overrideModules = null;
      ModulesMetaData originalModules = null;
View Full Code Here


/*     */   }
/*     */
/*     */   public void merge(JBossAppMetaData override, EarMetaData original)
/*     */   {
/* 187 */     super.merge(override, original);
/* 188 */     Ear5xMetaData original5x = null;
/* 189 */     if ((original instanceof Ear5xMetaData)) {
/* 190 */       original5x = (Ear5xMetaData)original;
/*     */     }
/* 192 */     if (override != null)
/*     */     {
/* 194 */       if (override.dtdPublicId != null)
/* 195 */         this.dtdPublicId = override.dtdPublicId;
/* 196 */       if (override.dtdSystemId != null)
/* 197 */         this.dtdSystemId = override.dtdSystemId;
/* 198 */       if (override.version != null)
/* 199 */         this.version = override.version;
/* 200 */       if (override.securityDomain != null)
/* 201 */         setSecurityDomain(override.securityDomain);
/* 202 */       if (override.loaderRepository != null)
/* 203 */         setLoaderRepository(override.loaderRepository);
/* 204 */       if (override.unauthenticatedPrincipal != null)
/* 205 */         setUnauthenticatedPrincipal(override.unauthenticatedPrincipal);
/* 206 */       if (override.unauthenticatedPrincipal != null)
/* 207 */         setUnauthenticatedPrincipal(override.unauthenticatedPrincipal);
/* 208 */       if (override.libraryDirectory != null)
/* 209 */         setLibraryDirectory(override.libraryDirectory);
/* 210 */       else if ((original5x != null) && (original5x.getLibraryDirectory() != null))
/* 211 */         setLibraryDirectory(original5x.getLibraryDirectory());
/* 212 */       if (override.jmxName != null)
/* 213 */         setJmxName(override.jmxName);
/*     */     }
/* 215 */     else if ((original5x != null) && (original5x.getLibraryDirectory() != null)) {
/* 216 */       setLibraryDirectory(original5x.getLibraryDirectory());
/*     */     }
/* 218 */     if (this.modules == null)
/* 219 */       this.modules = new ModulesMetaData();
/* 220 */     ModulesMetaData overrideModules = null;
/* 221 */     ModulesMetaData originalModules = null;
View Full Code Here

TOP

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

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.