Generally communication between components in the server space and those in the application space is best done by using a context attribute (with a lot of care about classpath visibility).
On Mon, 20 Jan 2020 at 00:36, Josh Spiegel <[email protected]> wrote: > Hi, > > What is the cleanest way for a servlet (e.g. in a war file under webapps) > to communicate state with a custom ConnectionFactory running in the same > server?Is there is some way to set Server attributes from the servlet or > something like that? > > A static variable would probably work for me but I am hoping for something > that is more decoupled and scoped at the Server level. > > Thanks, > Josh > > _______________________________________________ > jetty-users mailing list > [email protected] > To change your delivery options, retrieve your password, or unsubscribe > from this list, visit > https://www.eclipse.org/mailman/listinfo/jetty-users -- Greg Wilkins <[email protected]> CTO http://webtide.com
_______________________________________________ jetty-users mailing list [email protected] To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/jetty-users
