@ Override public void shutdown ( ) { if ( destroyableBeans == null ) { return ; } for ( final BeanData destroyableBean : destroyableBeans ) { destroyableBean . callDestroyMethods ( ) ; } destroyableBeans . clear ( ) ; }
Shutdowns the scope and calls all collected destroyable beans .