public boolean isServeServletsByClassnameEnabled ( ) { // PK52059 START disallowServeServletsByClassnameProp = WCCustomProperties . DISALLOW_SERVE_SERVLETS_BY_CLASSNAME_PROP ; if ( com . ibm . ejs . ras . TraceComponent . isAnyTracingEnabled ( ) && logger . isLoggable ( Level . FINE ) ) { logger . logp ( Level . FINE , CLASS_NAME , "isServeServletsByClassnameEnabled" , "disallowServeServletsByClassnameProp = " + disallowServeServletsByClassnameProp ) ; } if ( disallowServeServletsByClassnameProp != null ) { try { if ( Boolean . valueOf ( disallowServeServletsByClassnameProp ) . booleanValue ( ) ) { this . serveServletsByClassnameEnabled = Boolean . FALSE ; } if ( com . ibm . ejs . ras . TraceComponent . isAnyTracingEnabled ( ) && logger . isLoggable ( Level . FINE ) ) { logger . logp ( Level . FINE , CLASS_NAME , "isServeServletsByClassnameEnabled" , "PK52059: disallowServeServletsByClassnameProp set to " + disallowServeServletsByClassnameProp + " for application: " + this . getApplicationName ( ) ) ; } } catch ( Exception x ) { logger . logp ( Level . SEVERE , CLASS_NAME , "isServeServletsByClassnameEnabled" , "Illegal value set for property com.ibm.ws.webcontainer.disallowserveservletsbyclassname" ) ; } } // PK52059 END if ( com . ibm . ejs . ras . TraceComponent . isAnyTracingEnabled ( ) && logger . isLoggable ( Level . FINE ) ) { logger . logp ( Level . FINE , CLASS_NAME , "isServeServletsByClassnameEnabled" , "value = " + ( this . serveServletsByClassnameEnabled != null ? this . serveServletsByClassnameEnabled . booleanValue ( ) : WCCustomProperties . SERVE_SERVLETS_BY_CLASSNAME_ENABLED ) ) ; } if ( this . serveServletsByClassnameEnabled != null ) return this . serveServletsByClassnameEnabled . booleanValue ( ) ; return WCCustomProperties . SERVE_SERVLETS_BY_CLASSNAME_ENABLED ; }
Returns the serveServletsByClassname .