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@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@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/undertow-dev