Class HelperResource

java.lang.Object
io.opentelemetry.javaagent.tooling.muzzle.HelperResource

public abstract class HelperResource extends Object
  • Constructor Details

    • HelperResource

      public HelperResource()
  • Method Details

    • create

      public static HelperResource create(String applicationPath, String agentPath, boolean allClassLoaders)
      Create a new helper resource object.
      Parameters:
      applicationPath - The path in the user's class loader at which to inject the resource.
      agentPath - The path in the agent class loader from which to get the content for the resource.
      allClassLoaders - True if the resource should be injected to all classloaders, false otherwise.
    • getApplicationPath

      public abstract String getApplicationPath()
      The path in the user's class loader at which to inject the resource.
    • getAgentPath

      public abstract String getAgentPath()
      The path in the agent class loader from which to get the content for the resource.
    • allClassLoaders

      public abstract boolean allClassLoaders()
      True if the resource should be injected to all classloaders, false otherwise.