public void freeResourcesAfterAllBeansInitialized ( BeanMetaData bmd ) { final boolean isTraceOn = TraceComponent . isAnyTracingEnabled ( ) ; if ( isTraceOn && tc . isEntryEnabled ( ) ) Tr . entry ( tc , "freeResourcesAfterAllBeansInitialized: " + bmd . j2eeName + ", " + ( ivNumFullyInitializedBeans + 1 ) + "/" + ivBeanMetaDatas . size ( ) ) ; ivNumFullyInitializedBeans ++ ; boolean freeResources = ivNumFullyInitializedBeans == ivBeanMetaDatas . size ( ) ; // Free the resources if all beans have been initialized. if ( freeResources ) { if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isDebugEnabled ( ) ) { Tr . debug ( tc , "all beans are initialized in module name = " + ivName + ", freeing resources no longer needed" ) ; } // Since all beans are initialized, free any map no longer needed. ivInterceptorMap = null ; ivInterceptorBindingMap = null ; // d611747 } if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) Tr . exit ( tc , "freeResourcesAfterAllBeansInitialized" ) ; }
d462512 - log orphan warning message .