@ApplicationScoped public class JavassistProxifier extends java.lang.Object implements Proxifier
Proxifier
.Constructor and Description |
---|
JavassistProxifier(InstanceCreator instanceCreator) |
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.
|
public JavassistProxifier(InstanceCreator instanceCreator)
public <T> T proxify(java.lang.Class<T> type, MethodInvocation<? super T> handler)
Proxifier
public boolean isProxy(java.lang.Object o)
Proxifier
true
if the object is a proxy, false otherwise. null
objects always return
false
.Copyright © 2013 Caelum. All Rights Reserved.