Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.runtime.service.proxy
Class MethodsWrapper

java.lang.Object
  extended by 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

Constructor Summary
MethodsWrapper(Class<?> klass)
           
 
Method Summary
 Method getWrappedMethod(Method method)
           
 Object invoke(Object proxy, Method method, Object[] args)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MethodsWrapper

public MethodsWrapper(Class<?> klass)
Method Detail

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

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.