while(it.hasNext()) {
this.nserver.addContextHandler((JNDIContextHandler)it.next());
}
this.nserver.bind("/", "QueueConnectionFactory",
new ConnectionFactoryImpl(this.hostName,
this.config.getPort(),
this.config.getSyncInterval(),
this.config.getAsyncInterval())
);
this.nserver.bind("/", "TopicConnectionFactory",
new ConnectionFactoryImpl(this.hostName,
this.config.getPort(),
this.config.getSyncInterval(),
this.config.getAsyncInterval())
);
this.nserver.bind("/", "ConnectionFactory",
new ConnectionFactoryImpl(this.hostName,
this.config.getPort(),
this.config.getSyncInterval(),
this.config.getAsyncInterval())
);
this.nserver.bind("/", "start-time", new Long(System.currentTimeMillis()));