private void modifyContextRoot ( final Deployment dep , final JBossWebMetaData jbossWebMD ) { final String contextRoot = dep . getService ( ) . getContextRoot ( ) ; if ( WSLogger . ROOT_LOGGER . isTraceEnabled ( ) ) { WSLogger . ROOT_LOGGER . tracef ( "Setting context root: %s for deployment: %s" , contextRoot , dep . getSimpleName ( ) ) ; } jbossWebMD . setContextRoot ( contextRoot ) ; }
Modifies context root .