code: private static KunderaProxy getProxyInstance(Class factory, CglibLazyInitializer instance)
      {
          KunderaProxy proxy;
          try
          {
              Enhancer.registerCallbacks(factory, new Callback[] { instance, null });
              proxy = (KunderaProxy) factory.newInstance();
          }
          catch (IllegalAccessException e)
          {
              throw new LazyInitializationException(e);
          }
          catch (InstantiationException e)
          {
              throw new LazyInitializationException(e);
          }
          finally
          {
              Enhancer.registerCallbacks(factory, null);
          }
          return proxy;
      }
docs: Gets the proxy instance.
  
  @param factory
  the factory
  @param instance
  the instance
  @return the proxy instance
  @throws InstantiationException
  the instantiation exception
  @throws IllegalAccessException
  the illegal access exception