Class JBossLoadTimeWeaver

java.lang.Object
org.springframework.instrument.classloading.jboss.JBossLoadTimeWeaver
All Implemented Interfaces:
LoadTimeWeaver

public class JBossLoadTimeWeaver extends Object implements LoadTimeWeaver
LoadTimeWeaver implementation for JBoss's instrumentable ClassLoader. Thanks to Ales Justin and Marius Bogoevici for the initial prototype.

This weaver supports WildFly 13-23 (DelegatingClassFileTransformer) as well as WildFly 24+ (DelegatingClassTransformer), as of Spring Framework 6.1.15.

Since:
3.0
Author:
Costin Leau, Juergen Hoeller
  • Constructor Details

    • JBossLoadTimeWeaver

      public JBossLoadTimeWeaver()
      Create a new instance of the JBossLoadTimeWeaver class using the default class loader.
      See Also:
      • ClassUtils.getDefaultClassLoader()
    • JBossLoadTimeWeaver

      public JBossLoadTimeWeaver(@Nullable ClassLoader classLoader)
      Create a new instance of the JBossLoadTimeWeaver class using the supplied ClassLoader.
      Parameters:
      classLoader - the ClassLoader to delegate to for weaving
  • Method Details