org.jboss.classloading.spi.visitor
Class ClassFilter

java.lang.Object
  extended by org.jboss.classloading.spi.visitor.ClassFilter
All Implemented Interfaces:
ResourceFilter

public class ClassFilter
extends Object
implements ResourceFilter

ClassFilter.

Version:
$Revision: 1.1 $
Author:
Adrian Brock

Field Summary
static ClassFilter INSTANCE
          The class filter instance
 
Constructor Summary
ClassFilter()
           
 
Method Summary
 boolean accepts(ResourceContext resource)
          Controls whether to visit a particular resource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTANCE

public static final ClassFilter INSTANCE
The class filter instance

Constructor Detail

ClassFilter

public ClassFilter()
Method Detail

accepts

public boolean accepts(ResourceContext resource)
Description copied from interface: ResourceFilter
Controls whether to visit a particular resource

Specified by:
accepts in interface ResourceFilter
Parameters:
resource - the resource context
Returns:
true to visit the resource


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