protected synchronized void createNewBeanInstance() { if(this.currentBeanInstance != null) { return; } this.currentBeanInstance = createNewInstanceOfBean(this.creationalContext, getBean()); if(this.scopeBeanEventEnable) { //we don't have to check the implementation of Serializable - cdi already checked it this.beanManager.fireEvent(new ScopeBeanEvent((Serializable)this.currentBeanInstance)); } }
protected synchronized void createNewBeanInstance() { if(this.currentBeanInstance != null) { return; } this.currentBeanInstance = createNewInstanceOfBean(this.creationalContext, getBean()); if(this.scopeBeanEventEnable) { //we don't have to check the implementation of Serializable - cdi already checked it this.beanManager.fireEvent(new ScopeBeanEvent((Serializable)this.currentBeanInstance)); } }
protected synchronized void createNewBeanInstance() { if(this.currentBeanInstance != null) { return; } this.currentBeanInstance = createNewInstanceOfBean(this.creationalContext, getBean()); if(this.scopeBeanEventEnable) { //we don't have to check the implementation of Serializable - cdi already checked it this.beanManager.fireEvent(new ScopeBeanEvent((Serializable)this.currentBeanInstance)); } }