
com.newrelic.agent.modules.ModuleUtil Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of newrelic-module-util-java Show documentation
Show all versions of newrelic-module-util-java Show documentation
Multi-release jar for bootstrapping the Java Agent
The newest version!
/*
* Copyright 2020 New Relic Corporation. All rights reserved.
* SPDX-License-Identifier: Apache-2.0
*/
package com.newrelic.agent.modules;
import java.lang.instrument.Instrumentation;
public interface ModuleUtil {
/**
* Expands some modules to expose their inner workings to us. The specifics
* can be found in the Java {@literal >=} 9 implementation of this class.
* @param inst The premain {@link Instrumentation} instance
* @param agentClassLoader The classloader which is targeted to load
* agent classes; it is this classloader's unnamed module that will have
* access to the necessary packages.
*/
void redefineJavaBaseModule(Instrumentation inst, ClassLoader agentClassLoader);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy