com.catchpoint.trace.instrument.agent.AgentAware Maven / Gradle / Ivy
package com.catchpoint.trace.instrument.agent;
import com.catchpoint.trace.common.entity.Ordered;
import java.lang.instrument.Instrumentation;
/**
* Interface for implementations to be notified when Catchpoint agent is started
* from command line as JVM argument.
*
* @author serkan
*/
public interface AgentAware extends Ordered {
/**
* Called when agent is started
*
* @param arguments the passed arguments to the agent
* @param instrumentation the {@link Instrumentation} instance
*/
void onAgentStart(String arguments, Instrumentation instrumentation);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy