All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.opentelemetry.instrumentation.jmx.engine.DetectionStatus Maven / Gradle / Ivy

There is a newer version: 2.11.0-alpha
Show newest version
/*
 * Copyright The OpenTelemetry Authors
 * SPDX-License-Identifier: Apache-2.0
 */

package io.opentelemetry.instrumentation.jmx.engine;

import java.util.Collection;
import javax.management.MBeanServer;
import javax.management.ObjectName;

/**
 * A class encapsulating a set of ObjectNames and the MBeanServer that recognized them. Objects of
 * this class are immutable.
 */
class DetectionStatus {

  private final MBeanServer server;
  private final Collection objectNames;

  DetectionStatus(MBeanServer server, Collection objectNames) {
    this.server = server;
    this.objectNames = objectNames;
  }

  MBeanServer getServer() {
    return server;
  }

  Collection getObjectNames() {
    return objectNames;
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy