setupRegistry( cfg );
    public void afterStartup( DirectoryService service ) throws NamingException    {        ServerStartupConfiguration cfg = ( ServerStartupConfiguration ) service.getConfiguration()            .getStartupConfiguration();        Hashtable env = service.getConfiguration().getEnvironment();        loadLdifs( service );        if ( cfg.isEnableNetworking() )        {            setupRegistry( cfg );            startLDAP( cfg, env );            startLDAPS( cfg, env );            startKerberos( cfg, env );            startChangePassword( cfg, env );            startNTP( cfg, env );        }    }