@Override public void onError(AsyncEvent event) { logger.info("MyAsyncListener encouter error:" + event.toString()); }
@Override public void onComplete(AsyncEvent event) { logger.info("MyAsyncListener is completed:" + event.toString()); }
@Override public void onTimeout(AsyncEvent event) { logger.info("MyAsyncListener is timeout:" + event.toString()); }
@Override public void onStartAsync(AsyncEvent event) throws IOException { logger.info("MyAsyncListener is started:" + event.toString()); }