org.eclipse.cosmos.dc.mgmt.common.util
Class ManagedProxyInvocationHandler
java.lang.Object
org.eclipse.cosmos.dc.mgmt.common.util.ManagedProxyInvocationHandler
- All Implemented Interfaces:
- java.lang.reflect.InvocationHandler
public class ManagedProxyInvocationHandler
- extends java.lang.Object
- implements java.lang.reflect.InvocationHandler
|
Method Summary |
protected void |
finalize()
|
<A extends java.lang.annotation.Annotation>
A |
|
getAnnotation(java.lang.reflect.Method method,
java.lang.Class<A> target)
|
java.lang.annotation.Annotation[] |
getAnnotations(java.lang.reflect.Method method)
|
java.lang.Object |
invoke(java.lang.Object obj,
java.lang.reflect.Method method,
java.lang.Object[] args)
|
static void |
setManager(ContributionManager mgr)
|
| Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ManagedProxyInvocationHandler
public ManagedProxyInvocationHandler(java.lang.Object wrappedObject)
setManager
public static void setManager(ContributionManager mgr)
getAnnotation
public <A extends java.lang.annotation.Annotation> A getAnnotation(java.lang.reflect.Method method,
java.lang.Class<A> target)
getAnnotations
public java.lang.annotation.Annotation[] getAnnotations(java.lang.reflect.Method method)
invoke
public java.lang.Object invoke(java.lang.Object obj,
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
finalize
protected void finalize()
throws java.lang.Throwable
- Overrides:
finalize in class java.lang.Object
- Throws:
java.lang.Throwable