public class BeanProxy extends Object implements InvocationHandler
Even if you opt to eagerly load a bean, it will still be wrapped in a BeanProxy. This makes it possible to apply interceptor to eagerly loaded beans as well.
Only beanProviderMethods that don't return an interface will result in beans not being proxied.The actual bean is not created before the first method call to it.
If an Interceptor was supplied on the beanProviderMethod, the method invocation is intercepted.
Copyright © 2011 Syse Data AS. All Rights Reserved.