类 InstrumentationLoadTimeWeaver

  • 所有已实现的接口:
    LoadTimeWeaver

    public class InstrumentationLoadTimeWeaver
    extends Object
    implements LoadTimeWeaver
    LoadTimeWeaver relying on VM Instrumentation.

    Start the JVM specifying the Java agent to be used — for example, as follows where spring-instrument-{version}.jar is a JAR file containing the InstrumentationSavingAgent class shipped with Spring and where {version} is the release version of the Spring Framework (e.g., 5.1.5.RELEASE).

    -javaagent:path/to/spring-instrument-{version}.jar

    In Eclipse, for example, add something similar to the following to the JVM arguments for the Eclipse "Run configuration":

    -javaagent:${project_loc}/lib/spring-instrument-{version}.jar

    从以下版本开始:
    2.0
    作者:
    Rod Johnson, Juergen Hoeller
    另请参阅:
    InstrumentationSavingAgent