| java.lang.Object com.tcspring.GetBeanProtocol
GetBeanProtocol | public class GetBeanProtocol (Code) | | Virtualize AbstractBeanFactory.getBean() .
author: Eugene Kuleshov |
beanNameCflow | public Object beanNameCflow(StaticJoinPoint jp, String beanName, AutowireCapableBeanFactory factory) throws Throwable(Code) | | Captures the name of the bean being created and makes it accessible to virtualizeSingletonBean()
It also maintain the locking for distributed bean initialization.
Invoked around AbstractAutowireCapableBeanFactory.createBean(String, ..) method.
See Also: org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory#createBean(String, ...) |
registerBeanPostProcessor | public void registerBeanPostProcessor(StaticJoinPoint jp, AbstractBeanFactory factory)(Code) | | Invoked after constructor of the AbstractBeanFactory
See Also: org.springframework.beans.factory.support.AbstractBeanFactory.AbstractBeanFactory |
virtualizeSingletonBean | public Object virtualizeSingletonBean(StaticJoinPoint jp, AutowireCapableBeanFactory beanFactory) throws Throwable(Code) | | Virtualize singleton bean.
Invoked around call to BeanWrapper.getWrappedInstance() method within
AbstractAutowireCapableBeanFactory.createBean(String, ..) method execution.
See Also: GetBeanProtocol.beanNameCflow(StaticJoinPointStringAutowireCapableBeanFactory) See Also: org.springframework.beans.BeanWrapper.getWrappedInstance See Also: org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory#createBean(String, ..) |
|
|