org.glassfish.jersey.server.monitoring.ApplicationEventListener Java Examples

The following examples show how to use org.glassfish.jersey.server.monitoring.ApplicationEventListener. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: TracingApplicationEventListener.java    From brave with Apache License 2.0 4 votes vote down vote up
public static ApplicationEventListener create(HttpTracing httpTracing) {
  return new TracingApplicationEventListener(httpTracing, new EventParser());
}
 
Example #2
Source File: ApplicationRunEvent.java    From dropwizard-guicey with MIT License 2 votes vote down vote up
/**
 * @param listener jersey listener
 * @see org.glassfish.jersey.server.monitoring.ApplicationEvent.Type for available events
 */
public void registerJerseyListener(final ApplicationEventListener listener) {
    getEnvironment().jersey().register(listener);
}