MCPcopy Index your code
hub / github.com/Ericsson/proxy / javaBean

Method javaBean

src/main/java/com/ericsson/commonlibrary/proxy/Proxy.java:124–126  ·  view source on GitHub ↗

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)

Source from the content-addressed store, hash-verified

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()