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

Field Summary
static PublicReaderMethodFinder inst
           
 
Constructor Summary
private 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
 

Field Detail

inst

public static final PublicReaderMethodFinder inst
Constructor Detail

PublicReaderMethodFinder

private 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.