org.jboss.deployers.vfs.spi.structure.helpers
Class Base2VFSBridgeDeploymentUnitFilter

java.lang.Object
  extended by org.jboss.deployers.vfs.spi.structure.helpers.Base2VFSBridgeDeploymentUnitFilter
All Implemented Interfaces:
DeploymentUnitFilter, VFSDeploymentUnitFilter
Direct Known Subclasses:
VirtualFileDeploymentUnitFilter

public abstract class Base2VFSBridgeDeploymentUnitFilter
extends Object
implements DeploymentUnitFilter, VFSDeploymentUnitFilter

Bridge deployment unit filter. It implements both, plain deployment unit and vfs deployment unit filters. It delegates work to vfs du filter if du is vfs instance.

Author:
Ales Justin

Constructor Summary
Base2VFSBridgeDeploymentUnitFilter()
           
 
Method Summary
 boolean accepts(DeploymentUnit unit)
          Match the deployment unit
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jboss.deployers.vfs.spi.structure.VFSDeploymentUnitFilter
accepts
 

Constructor Detail

Base2VFSBridgeDeploymentUnitFilter

public Base2VFSBridgeDeploymentUnitFilter()
Method Detail

accepts

public boolean accepts(DeploymentUnit unit)
Description copied from interface: DeploymentUnitFilter
Match the deployment unit

Specified by:
accepts in interface DeploymentUnitFilter
Parameters:
unit - the deployment unit
Returns:
true when it matches


Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.