|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.codestreet.messageforge.BeanFactory
| Field Summary | |
static boolean |
processPrivateArrays
|
| Constructor Summary | |
BeanFactory()
|
|
| Method Summary | |
static RBeanInfo |
createBeanInfo(java.lang.String name,
java.lang.Class bean)
Create bean information using reflection. |
static void |
setAccessPrivateArrays(boolean flag)
Set flag to indicate whether private array fields should be accessed. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static boolean processPrivateArrays
| Constructor Detail |
public BeanFactory()
| Method Detail |
public static RBeanInfo createBeanInfo(java.lang.String name,
java.lang.Class bean)
private array support has
been requested then all getter/setter pairs that operate on arrays are
also identified.
name - Bean name.bean - Bean class.
setAccessPrivateArrays(boolean)public static void setAccessPrivateArrays(boolean flag)
true the bean factory identifies
private getter/setter pais that operate on arrays. An
attempt is made to set the accessibility for each identified pair to
true. If the attempt to set the accessibility succeeds
then the private getter/setter pair is added to the bean's information
set.
flag - Flag to indicate whether private array fields should be
accessed. Default is true. If this is set to
true then private array fields
will be accessed.createBeanInfo(String, Class)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||