private void initializeNonDDRepresentableAnnotation ( IServletConfig servletConfig ) { if ( com . ibm . ws . webcontainer . osgi . WebContainer . isServerStopping ( ) ) return ; String methodName = "initializeNonDDRepresentableAnnotation" ; String configClassName = servletConfig . getClassName ( ) ; if ( configClassName == null ) { return ; // Strange; but impossible to process; ignore. } if ( ! acceptAnnotationsFrom ( configClassName , DO_NOT_ACCEPT_PARTIAL , DO_NOT_ACCEPT_EXCLUDED ) ) { return ; // Ignore: In a metadata-complete or excluded region. } // Process: In a non-metadata-complete, non-excluded region. Class < ? > configClass ; try { configClass = Class . forName ( configClassName , false , this . getClassLoader ( ) ) ; } catch ( ClassNotFoundException e ) { if ( com . ibm . ejs . ras . TraceComponent . isAnyTracingEnabled ( ) && logger . isLoggable ( Level . FINE ) ) { LoggingUtil . logParamsAndException ( logger , Level . FINE , CLASS_NAME , methodName , "unable to load class [{0}] which is benign if the class is never used" , new Object [ ] { configClassName } , e ) ; } return ; } catch ( NoClassDefFoundError e ) { if ( com . ibm . ejs . ras . TraceComponent . isAnyTracingEnabled ( ) && logger . isLoggable ( Level . FINE ) ) { LoggingUtil . logParamsAndException ( logger , Level . FINE , CLASS_NAME , methodName , "unable to load class [{0}] which is benign if the class is never used" , new Object [ ] { configClassName } , e ) ; } return ; } checkForServletSecurityAnnotation ( configClass , servletConfig ) ; }
Process any annotation which could not be managed by an update to the the descriptor based configuration .