|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.commons.proxy.interceptor.filter.SimpleFilter
public class SimpleFilter
A simple method filter implementation that merely returns true if the method's name is in a set of accepted names.
Constructor Summary | |
---|---|
SimpleFilter()
Creates a simple filter that accepts no methods. |
|
SimpleFilter(String[] methodNames)
Creates a simple filter that accepts methods matching the supplied names. |
Method Summary | |
---|---|
boolean |
accepts(Method method)
Returns whether or not this filter accepts this method. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SimpleFilter()
public SimpleFilter(String[] methodNames)
methodNames
- the namesMethod Detail |
---|
public boolean accepts(Method method)
MethodFilter
accepts
in interface MethodFilter
method
- the method
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |