Tom Jenkinson wrote:
Could implementing the classloader approach be achieved by running two separate subsystems in WildFly, as I understand it that would leverage the classloader isolation provided by jboss modules?
It might mean binding something new into JNDI in order that MSC can get a reference to an AtomicAction "factory"/similar but that should be possible.
Nah the class loading is orthogonal to management subsystems. The ArjunaCore bits we would use for MSC and management would actually not be directly managed by the management system - at least not overtly. The easiest way to do this is to just introduce another module (i.e. another copy of the bits) which contains just the parts we want to use for this.