Constants.java 676 B

1234567891011121314151617181920212223242526
  1. /*
  2. * Copyright The OpenTelemetry Authors
  3. * SPDX-License-Identifier: Apache-2.0
  4. */
  5. package io.opentelemetry.javaagent.tooling;
  6. import java.util.Arrays;
  7. import java.util.Collections;
  8. import java.util.List;
  9. /**
  10. * Some useful constants.
  11. *
  12. * <p>Idea here is to keep this class safe to inject into client's class loader.
  13. */
  14. public final class Constants {
  15. /** packages which will be loaded on the bootstrap class loader. */
  16. public static final List<String> BOOTSTRAP_PACKAGE_PREFIXES =
  17. Collections.unmodifiableList(
  18. Arrays.asList(
  19. "io.opentelemetry.javaagent.bootstrap", "io.opentelemetry.javaagent.shaded"));
  20. private Constants() {}
  21. }