Re: Injecting one service into another 'ignored path' service

"Christopher Dodunski" <[email protected]> Fri, 12 Apr 2019 11:15:34 +1200 (NZST)
Newsgroups gmane.comp.java.tapestry.user
Message-ID <[email protected]>
Hi Thiago,

No, not solved yet.  Was still exploring options, for instance overriding
TapestryFilter.init(Registry).  Sorry if I wasn't clear.

I'm about to create a ServletContextListener in my app, so I can get
access to the ServletContext, and consequently the Registry, on app
initialisation.

Thanks for the great tip on extracting static fields of the ServerEndpoint
to a separate singleton service for keeping state on connections!

I'll report back on results.  And, of course, I'm always happy to
contribute any code that might prove useful to others.  Wait till I get it
working first.  :-)

Kind regards,

Chris.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]