public interface Proxifier
| Modifier and Type | Method and Description |
|---|---|
boolean |
isProxy(Object o)
Return
true if the object is a proxy, false otherwise. |
boolean |
isProxyType(Class<?> type)
Return
true if the type is a proxy, false otherwise. |
<T> T |
proxify(Class<T> type,
MethodInvocation<? super T> handler)
Creates a proxy for class defined in type parameter.
|
<T> T proxify(Class<T> type, MethodInvocation<? super T> handler)
type - The proxy type.handler - Callback for method invocation.boolean isProxy(Object o)
true if the object is a proxy, false otherwise. null objects always return
false.o - The object to testtrue if the object is a proxy, false otherwise.boolean isProxyType(Class<?> type)
true if the type is a proxy, false otherwise.type - Type to testtrue if the object is a proxy, false otherwise.Copyright © 2014 Caelum. All rights reserved.