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

Reply via email to