Are you asking about a Jersey ResourceConfig? or something else?

--
Joakim Erdfelt <[email protected]>
webtide.com <http://www.webtide.com/> - intalio.com/jetty
Expert advice, services and support from from the Jetty & CometD experts
eclipse.org/jetty - cometd.org


On Wed, Jul 16, 2014 at 5:08 PM, Louis Crandell <[email protected]>
wrote:

> We are bootstraping our web application configuration by extending a
> ResourceConfig.
> Is it expected the constructor of this class is invoked for each resource
> request or not?
> I'm asking this as I register a new AnnotationConfigApplicationContext,
> the SpringWebApplicationInitializer, the SpringLifecycleListener and
> the SpringComponentProvider and I'm a bit puzzled whether the context is
> actually re-used between requests or are we bootstrapping it all the time.
> What is the actual behaviour for spring managed beans and contexts?
> Can I inject in a ResourceConfig a @Context ApplicationContext? Can this
> be a singleton and final (I guess no to final).
>
> Cheers,
> Srdan
>
> _______________________________________________
> jetty-users mailing list
> [email protected]
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://dev.eclipse.org/mailman/listinfo/jetty-users
>
_______________________________________________
jetty-users mailing list
[email protected]
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://dev.eclipse.org/mailman/listinfo/jetty-users

Reply via email to