|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Selector
Selectors are used to select only those POJO methods which are suitable for
State
.
Selectors are used by Decorator
.
created on Jul 18, 2005
Method Summary | |
---|---|
MethodMeta |
getMethodMeta(java.lang.Class clazz,
java.lang.reflect.Method method,
java.util.Locale locale,
java.lang.ClassLoader loader)
get method's property object if it is recognized as suitable for State . |
Method Detail |
---|
MethodMeta getMethodMeta(java.lang.Class clazz, java.lang.reflect.Method method, java.util.Locale locale, java.lang.ClassLoader loader) throws DecorationException
State
.
It returns Property
because differences between a genuine
Method's Meta and Property are only in getValue() method.
clazz
- is POJO's classmethod
- which is to be to be examinedlocale
- to be used when creating the metadataloader
- is the classloader to be used to load any resource
file (if required)
MethodMeta
if this method a suitable for
inclusion in State
and null if it is not
DecorationException
- in case of internal error
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |