public void start ( StartContext context ) throws StartException { ROOT_LOGGER . startingService ( ) ; try { NamingContext . setActiveNamingStore ( namingStore . getValue ( ) ) ; } catch ( Throwable t ) { throw new StartException ( NamingLogger . ROOT_LOGGER . failedToStart ( "naming service" ) , t ) ; } }
Creates a new NamingServer and sets the naming context to use the naming server .