Interface ServerDetector
-
- All Known Implementing Classes:
AbstractServerDetector,JBossDetector
public interface ServerDetector
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleandetect()voidjvmAgentStartup(Instrumentation instrumentation)Notify detector that the JVM is about to start.
-
-
-
Method Detail
-
detect
boolean detect()
-
jvmAgentStartup
void jvmAgentStartup(Instrumentation instrumentation)
Notify detector that the JVM is about to start. A detector can, if needed, block and wait for some condition but should ultimately return at some point or throw an exception. This notification is executed in a very early stage (premain of the JVM agent) before the main class of the Server is executed.- Parameters:
instrumentation- the Instrumentation implementation
-
-