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