org.springframework.beans.factory.support
Class AutowireUtils.ObjectFactoryDelegatingInvocationHandler

java.lang.Object
  extended by org.springframework.beans.factory.support.AutowireUtils.ObjectFactoryDelegatingInvocationHandler
All Implemented Interfaces:
java.io.Serializable, java.lang.reflect.InvocationHandler
Enclosing class:
AutowireUtils

private static class AutowireUtils.ObjectFactoryDelegatingInvocationHandler
extends java.lang.Object
implements java.lang.reflect.InvocationHandler, java.io.Serializable

Reflective InvocationHandler for lazy access to the current target object.


Field Summary
private  ObjectFactory objectFactory
           
 
Constructor Summary
AutowireUtils.ObjectFactoryDelegatingInvocationHandler(ObjectFactory objectFactory)
           
 
Method Summary
 java.lang.Object invoke(java.lang.Object proxy, java.lang.reflect.Method method, java.lang.Object[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

objectFactory

private final ObjectFactory objectFactory
Constructor Detail

AutowireUtils.ObjectFactoryDelegatingInvocationHandler

public AutowireUtils.ObjectFactoryDelegatingInvocationHandler(ObjectFactory objectFactory)
Method Detail

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