[undertow-dev] accessing msc services

Bill Burke bburke at redhat.com
Fri Feb 7 15:51:07 EST 2014


I just need a reference to this service as it contains config 
information that is stored in the subsystem (standalone.xml, sorry if 
I'm confusing the terminology).  Don't care where or when the Undertow 
Handler gets this referenc(deploy time or runtime).

Is it possible to create HttpHandler instances in a deployment processor 
and attach them to the WAR deployment?  What about AuthMechanisms?  I 
guess I should dive into the undertow subsystem a bit more.

On 2/7/2014 1:21 PM, Tomaž Cerar wrote:
> Only way that comes to my mind would be an ugly one.
>
> that is accessing static ServiceRegistry and looking up service there.
>
> we could how ever add some extra handler to handler chain that would add
> some msc related APIs as an attachment.
>
> What exactly is your use case?
>
> Maybe it could be done another way around, for example when creating /
> registering your handler which should be done deployment time instead of
> runtime.
> it would also be faster.
>
> --
> tomaz
>
>
> On Fri, Feb 7, 2014 at 7:15 PM, Bill Burke <bburke at redhat.com
> <mailto:bburke at redhat.com>> wrote:
>
>     Is there any way to get an msc service from the WIldfly subsystem layer
>     from inside an Undertow handler?
>     --
>     Bill Burke
>     JBoss, a division of Red Hat
>     http://bill.burkecentral.com
>     _______________________________________________
>     undertow-dev mailing list
>     undertow-dev at lists.jboss.org <mailto:undertow-dev at lists.jboss.org>
>     https://lists.jboss.org/mailman/listinfo/undertow-dev
>
>

-- 
Bill Burke
JBoss, a division of Red Hat
http://bill.burkecentral.com


More information about the undertow-dev mailing list