
com.newrelic.bootstrap.EmbeddedJarFiles Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of newrelic-agent Show documentation
Show all versions of newrelic-agent Show documentation
Jar required to run with a java application to monitor performance.
The newest version!
/*
*
* * Copyright 2020 New Relic Corporation. All rights reserved.
* * SPDX-License-Identifier: Apache-2.0
*
*/
package com.newrelic.bootstrap;
import java.io.File;
import java.io.IOException;
public interface EmbeddedJarFiles {
/**
* Returns the names of the api jars that are embedded in the agent without their extension.
*
*/
String[] getEmbeddedAgentJarFileNames();
/**
* Returns a jar file created by reading the contents of a jar embedded inside of the agent jar and writing it out
* to a temp file. The result is cached so that multiple calls to this api for a given jar name reuse the same temp
* file.
*/
File getJarFileInAgent(String jarNameWithoutExtension) throws IOException;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy