org.apache.avalon.excalibur.component
Class ComponentProxyGenerator.ComponentInvocationHandler

java.lang.Object
  extended by org.apache.avalon.excalibur.component.ComponentProxyGenerator.ComponentInvocationHandler
All Implemented Interfaces:
java.lang.reflect.InvocationHandler
Enclosing class:
ComponentProxyGenerator

private static final class ComponentProxyGenerator.ComponentInvocationHandler
extends java.lang.Object
implements java.lang.reflect.InvocationHandler

Internal class to handle the wrapping with Component


Field Summary
private  java.lang.Object m_delagate
           
 
Constructor Summary
ComponentProxyGenerator.ComponentInvocationHandler(java.lang.Object delegate)
           
 
Method Summary
 java.lang.Object invoke(java.lang.Object proxy, java.lang.reflect.Method meth, java.lang.Object[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_delagate

private final java.lang.Object m_delagate
Constructor Detail

ComponentProxyGenerator.ComponentInvocationHandler

public ComponentProxyGenerator.ComponentInvocationHandler(java.lang.Object delegate)
Method Detail

invoke

public java.lang.Object invoke(java.lang.Object proxy,
                               java.lang.reflect.Method meth,
                               java.lang.Object[] args)
                        throws java.lang.Throwable
Specified by:
invoke in interface java.lang.reflect.InvocationHandler
Throws:
java.lang.Throwable