|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.glassfish.jersey.server.internal.ConfigHelper
public final class ConfigHelper
Helper class to provide some common functionality related to application configuration.
| Method Summary | |
|---|---|
static ContainerLifecycleListener |
getContainerLifecycleListener(ApplicationHandler applicationHandler)
Provides a single ContainerLifecycleListener instance based on the application configuration. |
static javax.ws.rs.core.Application |
getWrappedApplication(javax.ws.rs.core.Application app)
Gets the most internal wrapped application class. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static ContainerLifecycleListener getContainerLifecycleListener(ApplicationHandler applicationHandler)
application configuration.
This method looks for providers implementing ContainerLifecycleListener interface and aggregates them into
a single umbrella listener instance that is returned.
applicationHandler - actual application from where to get the listener.
public static javax.ws.rs.core.Application getWrappedApplication(javax.ws.rs.core.Application app)
application class. This method is similar to ResourceConfig.getApplication()
except if provided application was created by wrapping multiple ResourceConfig instances this method returns the original application
and not a resource config wrapper.
Application subclass.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||