Package org.jboss.deployers.structure.spi

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


*/
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


   /** By default we do local search */
   private AttachmentLocatorType searchType = AttachmentLocatorEnum.LOCAL;

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

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

TOP

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

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.