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)
className
T
- Type of result objectclassName
- canonical name for class namepublic static <T> ObjectProxy<T> of(T target)
target
T
- Type of result objecttarget
- instance of object that proxy will be representtarget
public static <T> ObjectProxy<T> of(Class<T> targetClass)
targetClazz
T
- Type of result objecttargetClass
- target class for object proxytargetClass
Copyright © 2012–2020 jkniv, copyleft code. All rights reserved.