Class OwbPlugin

    • Constructor Detail

      • OwbPlugin

        public OwbPlugin()
    • Method Detail

      • init

        public void init()
        Plugin initialization, called from archive registration,
      • registerBeansXmls

        public void registerBeansXmls​(Set bdaLocations)
        Register BeanArchive's paths to watcher. In case of new class the class file is not known to JVM hence no hotswap is called and therefore it must be handled by watcher.
        Parameters:
        bdaLocations - the Set of URLs of archive locations
      • classReload

        @OnClassLoadEvent(classNameRegexp=".*",
                          events=REDEFINE)
        public void classReload​(ClassLoader classLoader,
                                org.hotswap.agent.javassist.CtClass ctClass,
                                Class<?> original)
        Called on class redefinition. Class may be bean class
        Parameters:
        classLoader - the class loader in which class is redefined (Archive class loader)
        ctClass - the ct class
        original - the original