public abstract static class LazyInitProxyFactory.AbstractCGLibInterceptor extends Object implements net.sf.cglib.proxy.MethodInterceptor, ILazyInitProxy, Serializable, LazyInitProxyFactory.IWriteReplace
Modifier and Type | Field and Description |
---|---|
protected IProxyTargetLocator |
locator |
protected String |
typeName |
Constructor and Description |
---|
AbstractCGLibInterceptor(Class<?> type,
IProxyTargetLocator locator)
Constructor
|
Modifier and Type | Method and Description |
---|---|
IProxyTargetLocator |
getObjectLocator() |
Object |
intercept(Object object,
Method method,
Object[] args,
net.sf.cglib.proxy.MethodProxy proxy) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
writeReplace
protected final IProxyTargetLocator locator
protected final String typeName
public AbstractCGLibInterceptor(Class<?> type, IProxyTargetLocator locator)
type
- class of the object this proxy was created forlocator
- object locator used to locate the object this proxy representspublic Object intercept(Object object, Method method, Object[] args, net.sf.cglib.proxy.MethodProxy proxy) throws Throwable
intercept
in interface net.sf.cglib.proxy.MethodInterceptor
Throwable
MethodInterceptor.intercept(java.lang.Object,
java.lang.reflect.Method, java.lang.Object[], net.sf.cglib.proxy.MethodProxy)
public IProxyTargetLocator getObjectLocator()
getObjectLocator
in interface ILazyInitProxy
ILazyInitProxy.getObjectLocator()
Copyright © 2006–2022 Apache Software Foundation. All rights reserved.