@Component @ApplicationScoped public class NullProxyInitializer extends Object implements ProxyInitializer
| Constructor and Description |
|---|
NullProxyInitializer() |
| Modifier and Type | Method and Description |
|---|---|
Class<?> |
getActualClass(Object obj)
Find the real class of the obj send.
|
void |
initialize(Object obj)
Initialize the obj send if it is a proxy.
|
boolean |
isProxy(Class<?> obj)
Check if the clazz send is isAssignableFrom proxy.
|
public Class<?> getActualClass(Object obj)
ProxyInitializergetActualClass in interface ProxyInitializerpublic void initialize(Object obj)
ProxyInitializerinitialize in interface ProxyInitializerpublic boolean isProxy(Class<?> obj)
ProxyInitializerisProxy in interface ProxyInitializerCopyright © 2014 Caelum. All Rights Reserved.