Package org.jboss.deployers.spi.structure

Examples of org.jboss.deployers.spi.structure.ContextInfo


         JarUtils.removeJarSuffix(extension);
   }

   public boolean determineStructure(VirtualFile root, VirtualFile parent, VirtualFile file, StructureMetaData metaData, VFSStructuralDeployers deployers) throws DeploymentException
   {
      ContextInfo context = null;
      try
      {
         boolean trace = log.isTraceEnabled();

         if (isLeaf(file) == false)
View Full Code Here


      return false;
   }

   public boolean determineStructure(VirtualFile root, VirtualFile parent, VirtualFile file, StructureMetaData metaData, VFSStructuralDeployers deployers) throws DeploymentException
   {
      ContextInfo context = null;
      try
      {
         boolean trace = log.isTraceEnabled();
         if (isLeaf(file) == true)
         {
View Full Code Here

      return suffixes.contains(name.substring(idx).toLowerCase());
   }

   public boolean doDetermineStructure(StructureContext structureContext) throws DeploymentException
   {
      ContextInfo context = null;
      VirtualFile file = structureContext.getFile();
      try
      {
         boolean trace = log.isTraceEnabled();
         // For non top level directories that don't look like jars
View Full Code Here

      return checkFileMatchers(file);
   }

   public boolean determineStructure(StructureContext structureContext) throws DeploymentException
   {
      ContextInfo context = null;
      VirtualFile file = structureContext.getFile();
      try
      {
         boolean trace = log.isTraceEnabled();
         if (isLeaf(file) == true)
View Full Code Here

    * @return the context info
    * @throws IllegalArgumentException for a null root or structure metaData
    */
   protected ContextInfo createContext(StructureContext context, String metaDataPath)
   {
      ContextInfo result = applyMetadataPath(context, metaDataPath);
      applyStructure(context, result);
      return result;
   }
View Full Code Here

    * @return the context info
    * @throws IllegalArgumentException for a null root or structure metaData
    */
   protected ContextInfo createContext(StructureContext context, String[] metaDataPaths)
   {
      ContextInfo result = applyMetadataPaths(context, metaDataPaths);
      applyStructure(context, result);
      return result;
   }
View Full Code Here

      if (obj == this)
         return true;
      if (obj == null || obj instanceof ContextInfo == false)
         return false;
     
      ContextInfo other = (ContextInfo) obj;
      if (getPath().equals(other.getPath()) == false)
         return false;

      List<String> thisMetaDataPath = getMetaDataPath();
      List<String> otherMetaDataPath = other.getMetaDataPath();
      if (thisMetaDataPath.equals(otherMetaDataPath) == false)
         return false;

      List<ClassPathEntry> thisClassPath = getClassPath();
      List<ClassPathEntry> otherClassPath = other.getClassPath();
      if (thisClassPath == null)
         return otherClassPath == null;
      return thisClassPath.equals(otherClassPath);
   }
View Full Code Here

    * @return the context info
    * @throws IllegalArgumentException for a null root or structure metaData
    */
   protected ContextInfo createContext(StructureContext context, String metaDataPath)
   {
      ContextInfo result = applyMetadataPath(context, metaDataPath);
      applyStructure(context, result);
      return result;
   }
View Full Code Here

    * @return the context info
    * @throws IllegalArgumentException for a null root or structure metaData
    */
   protected ContextInfo createContext(StructureContext context, String[] metaDataPaths)
   {
      ContextInfo result = applyMetadataPaths(context, metaDataPaths);
      applyStructure(context, result);
      return result;
   }
View Full Code Here

   public void visit(VirtualFile file)
   {
      String path = AbstractStructureDeployer.getRelativePath(context, file);
      StructureMetaData metaData = context.getMetaData();
      ContextInfo contextInfo = metaData.getContext(path);
      if (contextInfo == null)
      {
         // Ignore directories when asked
         if (ignoreDirectories && file.isDirectory())
            return;
View Full Code Here

TOP

Related Classes of org.jboss.deployers.spi.structure.ContextInfo

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.