Package org.jboss.deployers.structure.spi.classloading

Examples of org.jboss.deployers.structure.spi.classloading.RequireModule


   {
      if (obj == this)
         return true;
      if (obj == null || obj instanceof RequireModule == false)
         return false;
      RequireModule other = (RequireModule) obj;
      if (getName().equals(other.getName()) == false)
         return false;
      return getVersionRange().equals(other.getVersionRange());
   }
View Full Code Here


   public boolean resolves(DeploymentUnit unit, Requirement requirement)
   {
      if (requirement instanceof RequireModule == false)
         return false;
      RequireModule requireModule = (RequireModule) requirement;
      if (getName().equals(requireModule.getName()) == false)
         return false;
      return requireModule.getVersionRange().isInRange(getVersion());
   }
View Full Code Here

/*     */
/*     */   public boolean resolves(DeploymentUnit unit, Requirement requirement)
/*     */   {
/*  88 */     if (!(requirement instanceof RequireModule))
/*  89 */       return false;
/*  90 */     RequireModule requireModule = (RequireModule)requirement;
/*  91 */     if (!getName().equals(requireModule.getName()))
/*  92 */       return false;
/*  93 */     return requireModule.getVersionRange().isInRange(getVersion());
/*     */   }
View Full Code Here

/*     */   {
/*  86 */     if (obj == this)
/*  87 */       return true;
/*  88 */     if ((obj == null) || (!(obj instanceof RequireModule)))
/*  89 */       return false;
/*  90 */     RequireModule other = (RequireModule)obj;
/*  91 */     if (!getName().equals(other.getName()))
/*  92 */       return false;
/*  93 */     return getVersionRange().equals(other.getVersionRange());
/*     */   }
View Full Code Here

TOP

Related Classes of org.jboss.deployers.structure.spi.classloading.RequireModule

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.