public class ObjectProxyFactory extends Object
| Constructor and Description |
|---|
ObjectProxyFactory() |
| Modifier and Type | Method and Description |
|---|---|
static <T> ObjectProxy<T> |
of(Class<T> targetClass)
Build proxy object for class type of
targetClazz |
static <T> ObjectProxy<T> |
of(String className)
Build proxy object for class type of
className |
static <T> ObjectProxy<T> |
of(T target)
Build proxy object for instance of object
target |
public ObjectProxyFactory()
public static <T> ObjectProxy<T> of(String className)
classNameT - Type of result objectclassName - canonical name for class namepublic static <T> ObjectProxy<T> of(T target)
targetT - Type of result objecttarget - instance of object that proxy will be representtargetpublic static <T> ObjectProxy<T> of(Class<T> targetClass)
targetClazzT - Type of result objecttargetClass - target class for object proxytargetClassCopyright © 2012–2020 jkniv, copyleft code. All rights reserved.