private static final Logger logger = LoggerFactory.getLogger(AsyncSupportServiceProcessor.class);
@Override
public void handle(AtmosphereFramework framework, Class<AsyncSupport> annotatedClass) {
try {
framework.setAsyncSupport(new DefaultAsyncSupportResolver(framework.getAtmosphereConfig()).newCometSupport(annotatedClass.getName()));
} catch (Throwable e) {
logger.warn("", e);
}
}