public interface Proxifier
Modifier and Type | Method and Description |
---|---|
boolean |
isProxy(java.lang.Object o)
Return
true if the object is a proxy, false otherwise. |
<T> T |
proxify(java.lang.Class<T> type,
MethodInvocation<? super T> handler)
Creates a proxy for class defined in type parameter.
|
<T> T proxify(java.lang.Class<T> type, MethodInvocation<? super T> handler)
type
- The proxy type.handler
- Callback for method invocation.boolean isProxy(java.lang.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.Copyright © 2013 Caelum. All Rights Reserved.