Package org.jboss.deployers.structure.spi

Examples of org.jboss.deployers.structure.spi.DeploymentUnitFilter.accepts()


public class DeploymentProvidedDeploymentUnitFilter extends VFS2BaseBridgeDeploymentUnitFilter
{
   protected boolean doAccepts(DeploymentUnit unit)
   {
      DeploymentUnitFilter filter = unit.getAttachment(DeploymentUnitFilter.class);
      return filter == null || filter.accepts(unit);
   }
}
View Full Code Here


   private AttachmentLocatorType searchType = AttachmentLocatorEnum.LOCAL;

   protected boolean doAccepts(DeploymentUnit unit)
   {
      DeploymentUnitFilter filter = searchType.search(unit, DeploymentUnitFilter.class);
      return filter == null || filter.accepts(unit);
   }

   /**
    * Set search type.
    *
 
View Full Code Here

{
   @Override
   protected boolean doAccepts(DeploymentUnit unit)
   {
      DeploymentUnitFilter filter = unit.getTopLevel().getAttachment(DeploymentUnitFilter.class);
      return filter == null || filter.accepts(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.