Class ObjectCreateRule.DeferredConstructionCallback

  • All Implemented Interfaces:
    net.sf.cglib.proxy.Callback, net.sf.cglib.proxy.MethodInterceptor
    Enclosing class:
    ObjectCreateRule

    private static class ObjectCreateRule.DeferredConstructionCallback
    extends java.lang.Object
    implements net.sf.cglib.proxy.MethodInterceptor
    • Constructor Summary

      Constructors 
      Constructor Description
      DeferredConstructionCallback​(java.lang.reflect.Constructor<?> constructor, java.lang.Object[] constructorArgs)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      (package private) void establishDelegate()  
      java.lang.Object intercept​(java.lang.Object obj, java.lang.reflect.Method method, java.lang.Object[] args, net.sf.cglib.proxy.MethodProxy proxy)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • constructor

        java.lang.reflect.Constructor<?> constructor
      • constructorArgs

        java.lang.Object[] constructorArgs
      • delegate

        java.lang.Object delegate
    • Constructor Detail

      • DeferredConstructionCallback

        DeferredConstructionCallback​(java.lang.reflect.Constructor<?> constructor,
                                     java.lang.Object[] constructorArgs)
    • Method Detail

      • intercept

        public java.lang.Object intercept​(java.lang.Object obj,
                                          java.lang.reflect.Method method,
                                          java.lang.Object[] args,
                                          net.sf.cglib.proxy.MethodProxy proxy)
                                   throws java.lang.Throwable
        Specified by:
        intercept in interface net.sf.cglib.proxy.MethodInterceptor
        Throws:
        java.lang.Throwable
      • establishDelegate

        void establishDelegate()
                        throws java.lang.Exception
        Throws:
        java.lang.Exception