JBoss Modules 1.0.2.GA

org.jboss.modules.filter
Class ClassFilters

java.lang.Object
  extended by org.jboss.modules.filter.ClassFilters

public final class ClassFilters
extends Object

Static factory methods for class filter types.

Author:
David M. Lloyd

Method Summary
static ClassFilter acceptAll()
          Get a filter which always returns true.
static ClassFilter rejectAll()
          Get a filter which always returns false.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

acceptAll

public static ClassFilter acceptAll()
Get a filter which always returns true.

Returns:
the accept-all filter

rejectAll

public static ClassFilter rejectAll()
Get a filter which always returns false.

Returns:
the reject-all filter

JBoss Modules 1.0.2.GA

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