net.sf.beanlib.provider.finder
Class ProtectedReaderMethodFinder
java.lang.Object
net.sf.beanlib.provider.finder.ProtectedReaderMethodFinder
- All Implemented Interfaces:
- BeanMethodFinder
public class ProtectedReaderMethodFinder
- extends Object
- implements BeanMethodFinder
Supports finding JavaBean reader method, either public or protected.
- Author:
- Joe D. Velopar
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
inst
public static final ProtectedReaderMethodFinder inst
ProtectedReaderMethodFinder
private ProtectedReaderMethodFinder()
find
public Method find(String propertyName,
Object bean)
- Specified by:
find
in interface BeanMethodFinder
- Parameters:
propertyName
- property name related to the method to be found.bean
- JavaBean instance.
- Returns:
- the method found or null if not found.
found
private boolean found(Method m)