- package com.xifj.agent.demo;
- import java.lang.instrument.Instrumentation;
- public class agentDemo {
- public static void premain (String agentArgs, Instrumentation inst) {
- System.out.println( "=========premain方法执行1========");
- System.out.println(agentArgs);
- }
- public static void premain (String agentArgs) {
- System.out.println( "=========premain方法执行2========");
- System.out.println(agentArgs);
- }
- }
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)