This sounds like the right way to do it, *but* how do you then tie-in the actual extension instance into app. server' container?Since afaik, the instance is created by Weld internals, which knows nothing about your custom app server container.
Or is there already some hook available in Weld wrt extensions handling in diff env/containers?
Meaning it would need to get a hold of existing app. server' OSGi service registry and vice-versa.