public void terminate ( ) { if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) Tr . entry ( tc , "terminate" ) ; statefulBeanReaper . cancel ( ) ; //d601399 // Force a reaper sweep statefulBeanReaper . finalSweep ( passivator ) ; beanCache . terminate ( ) ; if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) Tr . exit ( tc , "terminate" ) ; }
Enable cleanup of passivated beans kind of a hack required because all the bean s homes have already been cleaned up at this point