List of usage examples for org.springframework.beans.factory.wiring BeanConfigurerSupport destroy
@Override public void destroy()
From source file:org.vaadin.webinars.springandvaadin.serialization.SerializableUI.java
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException { in.defaultReadObject();// w w w . j a va2 s. co m ConfigurableApplicationContext appContext = (ConfigurableApplicationContext) applicationContextHolder.get(); BeanConfigurerSupport configurerSupport = new BeanConfigurerSupport(); configurerSupport.setBeanFactory(appContext.getBeanFactory()); configurerSupport.afterPropertiesSet(); configurerSupport.configureBean(this); configurerSupport.destroy(); }