-
Notifications
You must be signed in to change notification settings - Fork 567
Closed
Description
- Framework version: 1.0.0
- Implementations: Jersey
Scenario
I wish to access the org.glassfish.hk2.api.ServiceLocator
instance from the JerseyHandlerFilter
object, this is so I can eagerly instantiate services in response to a scheduled warm up event (e.g. via https://github.com/FidelLimited/serverless-plugin-warmup).
Example
This stackoverflow answer provides an example of expected access using a ContainerLifecycleListener
, although I believe if jersey
is exposed from JerseyHandlerFilter
this would be accessible from RequestStreamHandler.handleRequest
.