Class JBossModulesPlugin


  • @Plugin(name="JBossModules",
            description="JBossModules - Jboss modular class loading implementation. ",
            testedVersions="1.4.4, 1.5.1",
            expectedVersions="1.x",
            supportClass=ModuleClassLoaderTransformer.class)
    public class JBossModulesPlugin
    extends java.lang.Object
    JBossModulesPlugin
    Author:
    Vladimir Dvorak
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected static org.hotswap.agent.logging.AgentLogger LOGGER  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void init​(org.hotswap.agent.config.PluginConfiguration pluginConfiguration)  
      static void transformModule​(org.hotswap.agent.javassist.ClassPool classPool, org.hotswap.agent.javassist.CtClass ctClass)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • LOGGER

        protected static org.hotswap.agent.logging.AgentLogger LOGGER
    • Constructor Detail

      • JBossModulesPlugin

        public JBossModulesPlugin()
    • Method Detail

      • init

        @Init
        public void init​(org.hotswap.agent.config.PluginConfiguration pluginConfiguration)
      • transformModule

        @OnClassLoadEvent(classNameRegexp="org.jboss.modules.ModuleLoader")
        public static void transformModule​(org.hotswap.agent.javassist.ClassPool classPool,
                                           org.hotswap.agent.javassist.CtClass ctClass)
                                    throws org.hotswap.agent.javassist.NotFoundException,
                                           org.hotswap.agent.javassist.CannotCompileException
        Throws:
        org.hotswap.agent.javassist.NotFoundException
        org.hotswap.agent.javassist.CannotCompileException