I need to register an Undertow HttpHandler that is active from the moment Wildfly starts undertow.
The handler must run even when no application specific web contexts has been deployed and started.
Is it possible?
This is not enough for my case:
- a global module - as defined within <subsystem xmlns="urn:jboss:domain:ee:2.0"> / <global-modules>
- with a META-INF/services/io.undertow.servlet.ServletExtension
The reason is this: my extension is first started whenever a Web context is deployed (fx in a WAR, or a JAXWS/RS endpoint).