@ FFDCIgnore ( InjectionException . class ) private void processPreDestroy ( ) { ApplicationClient appClient = ( ( ClientModuleMetaData ) cmd . getModuleMetaData ( ) ) . getAppClient ( ) ; boolean isMetadataComplete = appClient . isMetadataComplete ( ) ; LifecycleCallbackHelper helper = new LifecycleCallbackHelper ( isMetadataComplete ) ; List < LifecycleCallback > preDestroy = appClient . getPreDestroy ( ) ; CallbackHandler loginCallbackHandler = cmi . getCallbackHandler ( ) ; try { if ( loginCallbackHandler != null ) { helper . doPreDestroy ( loginCallbackHandler , preDestroy ) ; } } catch ( InjectionException e ) { Tr . error ( tc , "INJECTION_PREDESTROY_CWWKC2453E" , new Object [ ] { e . getLocalizedMessage ( ) } ) ; } }
Process PreDestroy annotation or metadata for Login Callback class .