org.glassfish.jersey.server.internal
Class ConfigHelper
java.lang.Object
org.glassfish.jersey.server.internal.ConfigHelper
public final class ConfigHelper
- extends Object
Helper class to provide some common functionality related to application configuration.
- Author:
- Jakub Podlesak (jakub.podlesak at oracle.com)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConfigHelper
public ConfigHelper()
getContainerLifecycleListener
public static ContainerLifecycleListener getContainerLifecycleListener(ApplicationHandler applicationHandler)
- Provides a single ContainerLifecycleListener instance based on the
application configuration.
This method looks for providers implementing ContainerLifecycleListener interface and aggregates them into
a single umbrella listener instance that is returned.
- Parameters:
applicationHandler - actual application from where to get the listener.
- Returns:
- a single instance of a ContainerLifecycleListener, can not be null.
Copyright © 2007-2012 Oracle Corporation. All Rights Reserved. Use is subject to license terms.