org.nuxeo.runtime.service.proxy
Class MethodsWrapper
java.lang.Object
org.nuxeo.runtime.service.proxy.MethodsWrapper
- All Implemented Interfaces:
- InvocationHandler
public abstract class MethodsWrapper
- extends Object
- implements InvocationHandler
Define wrappers for some methods on the target class.
- Author:
- Bogdan Stefanescu
MethodsWrapper
public MethodsWrapper(Class<?> klass)
getWrappedMethod
public Method getWrappedMethod(Method method)
invoke
public Object invoke(Object proxy,
Method method,
Object[] args)
throws Throwable
- Specified by:
invoke
in interface InvocationHandler
- Throws:
Throwable
Copyright © 2011 Nuxeo SAS. All Rights Reserved.