Class WeldPlugin

    • Constructor Detail

      • WeldPlugin

        public WeldPlugin()
    • Method Detail

      • init

        public void init()
      • initInJBossAS

        public void initInJBossAS()
      • initInGlassFish

        public void initInGlassFish()
      • registerBeanDeplArchivePath

        public void registerBeanDeplArchivePath​(String archivePath)
        Register BeanDeploymentArchive's normalizedArchivePath 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:
        archivePath - the archive path
      • registerProxyFactory

        public void registerProxyFactory​(Object proxyFactory,
                                         Object bean,
                                         ClassLoader classLoader,
                                         Class<?> proxiedBeanType)
      • classReload

        @OnClassLoadEvent(classNameRegexp=".*",
                          events=REDEFINE)
        public void classReload​(ClassLoader classLoader,
                                org.hotswap.agent.javassist.CtClass ctClass,
                                Class<?> original)
        If bda archive is defined for given class than new BeanClassRefreshCommand is created
        Parameters:
        classLoader -
        ctClass -
        original -