public void cleanup ( ) { managers . clear ( ) ; for ( BeanManagerImpl beanManager : beanDeploymentArchives . values ( ) ) { beanManager . cleanup ( ) ; } beanDeploymentArchives . clear ( ) ; deploymentServices . cleanup ( ) ; deploymentManager . cleanup ( ) ; instance . clear ( contextId ) ; }
Cause the container to be cleaned up including all registered bean managers and all deployment services