public class MyMethodInterceptor extends Object implements net.sf.cglib.proxy.MethodInterceptor
Constructor and Description |
---|
MyMethodInterceptor()
Constructor MyMethodInterceptor
|
Modifier and Type | Method and Description |
---|---|
<T> T |
createInstance(Object arg0,
Method arg1,
Object[] arg2,
net.sf.cglib.proxy.MethodProxy arg3)
create the object for linked method call or object of leaf node
|
protected String |
extractPropertyName(Method method)
extract the name of property from method called.
|
Object |
getObject(Type type)
Method to get the object for the given type
|
Object |
intercept(Object arg0,
Method arg1,
Object[] arg2,
net.sf.cglib.proxy.MethodProxy arg3) |
public Object intercept(Object arg0, Method arg1, Object[] arg2, net.sf.cglib.proxy.MethodProxy arg3) throws FMSException
intercept
in interface net.sf.cglib.proxy.MethodInterceptor
FMSException
protected String extractPropertyName(Method method)
method
- public <T> T createInstance(Object arg0, Method arg1, Object[] arg2, net.sf.cglib.proxy.MethodProxy arg3) throws FMSException
type
- Throwable
FMSException
public Object getObject(Type type) throws FMSException
type
- the typeThrowable
FMSException
Copyright © 2021. All Rights Reserved.