use of org.simpleframework.common.thread.DaemonFactory in project jersey by jersey.
the class SimpleContainer method reload.
@Override
public void reload(final ResourceConfig configuration) {
appHandler.onShutdown(this);
appHandler = new ApplicationHandler(configuration.register(new SimpleBinder()));
scheduler = new ScheduledThreadPoolExecutor(2, new DaemonFactory(TimeoutDispatcher.class));
appHandler.onReload(this);
appHandler.onStartup(this);
}
Aggregations