Creates a java bean object from a interface or a abstract class. (java bean=class with getX(),setX(),isX() methods) If the interface/abstract class does not contain corresponding setX method for a getX method the setX method will be generated. These generated set methods will only be available with
(Class<T> classToProxy)
| 122 | * @return a concrete usable java bean object. |
| 123 | */ |
| 124 | public static <T> T javaBean(Class<T> classToProxy) { |
| 125 | return javaBean(classToProxy, false); |
| 126 | } |
| 127 | |
| 128 | /** |
| 129 | * Creates a java bean object from a interface or a abstract class. (java bean=class with getX(),setX(),isX() |