org.jboss.classloader.plugins.filter
Class EverythingClassFilter

java.lang.Object
  extended by org.jboss.classloader.plugins.filter.EverythingClassFilter
All Implemented Interfaces:
ClassFilter

public class EverythingClassFilter
extends Object
implements ClassFilter

A class filter that matches everything

Version:
$Revision: 1.1 $
Author:
Adrian Brock

Field Summary
static EverythingClassFilter INSTANCE
          The singleton instance
 
Fields inherited from interface org.jboss.classloader.spi.filter.ClassFilter
EVERYTHING, JAVA_ONLY, NOTHING, NOTHING_BUT_JAVA
 
Method Summary
 boolean matchesClassName(String className)
          Whether the class name matches the filter
 boolean matchesPackageName(String packageName)
          Whether the package name matches the filter
 boolean matchesResourcePath(String resourcePath)
          Whether the resource name matches the filter
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

INSTANCE

public static final EverythingClassFilter INSTANCE
The singleton instance

Method Detail

matchesClassName

public boolean matchesClassName(String className)
Description copied from interface: ClassFilter
Whether the class name matches the filter

Specified by:
matchesClassName in interface ClassFilter
Parameters:
className - the class name
Returns:
true when it matches the filter

matchesResourcePath

public boolean matchesResourcePath(String resourcePath)
Description copied from interface: ClassFilter
Whether the resource name matches the filter

Specified by:
matchesResourcePath in interface ClassFilter
Parameters:
resourcePath - the resource path
Returns:
true when it matches the filter

matchesPackageName

public boolean matchesPackageName(String packageName)
Description copied from interface: ClassFilter
Whether the package name matches the filter

Specified by:
matchesPackageName in interface ClassFilter
Parameters:
packageName - the package path
Returns:
true when it matches the filter

toString

public String toString()
Overrides:
toString in class Object


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