Package com.newrelic.agent.modules
Interface ModuleUtil
-
- All Known Implementing Classes:
ModuleUtilImpl
public interface ModuleUtil
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
redefineModules(java.lang.instrument.Instrumentation inst, java.lang.ClassLoader agentClassLoader)
Expands some modules to expose their inner workings to us.
-
-
-
Method Detail
-
redefineModules
void redefineModules(java.lang.instrument.Instrumentation inst, java.lang.ClassLoader agentClassLoader)
Expands some modules to expose their inner workings to us. The specifics can be found in the Java >= 9 implementation of this class.- Parameters:
inst
- The premainInstrumentation
instanceagentClassLoader
- The classloader which is targeted to load agent classes; it is this classloader's unnamed module that will have access to the necessary packages.
-
-