hornetq/hornetq — pull request #1850 by mtaylor (2014-09-17 11:06:10+00:00)
Title: HORNETQ-1125 Added InjectObjectRegistry to Server

https://issues.jboss.org/browse/HORNETQ-1125

This patch adds an InjectedObjectRegistry which stores references to
objects that are intended to be injected into HornetQ server. This
allows WildFly to inject objects that Wildfly is responsible for
managing such as ExecutorServices. In addition Wildfly is able to create
objects in it's own class loader such as Intercepors and
ConnectorServiceFactories and inject them into HornetQ. This means that
the HornetQ class loader does not need to be aware of the various
dependencies require to instantiate these objects.