net.sf.beanlib.provider.finder
Class PublicReaderMethodFinder

java.lang.Object
  extended by net.sf.beanlib.provider.finder.PublicReaderMethodFinder
All Implemented Interfaces:
BeanMethodFinder

public class PublicReaderMethodFinder
extends Object
implements BeanMethodFinder

Supports finding JavaBean public reader method.

Author:
Joe D. Velopar

Constructor Summary
PublicReaderMethodFinder()
           
 
Method Summary
 Method find(String propertyName, Object bean)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PublicReaderMethodFinder

public PublicReaderMethodFinder()
Method Detail

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.