Add extraClassPath from to org.jboss.modules.ModuleClassLoader, so that all application servers (JBossAS, WildFly) based on jboss’s module classloader can use HotswapAgent’s extraClassPath.


Setup extraClasspath property in

# Add this classpath prior to application classpath.
# This may be useful for example in multi module maven project, where you do not need to build JAR file
# after each change.
# Note that there must be a plugin that will provide actual replacement such as JettyPlugin for Jetty servlet container.

Implementation notes:

Plugin is initialized when loadModule of org.jboss.modules.ModuleLoader' is called. Plugin is unload when unloadModule is called.