178N/A/*
2362N/A * Copyright (c) 2008, Oracle and/or its affiliates. All rights reserved.
178N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
178N/A *
178N/A * This code is free software; you can redistribute it and/or modify it
178N/A * under the terms of the GNU General Public License version 2 only, as
2362N/A * published by the Free Software Foundation. Oracle designates this
178N/A * particular file as subject to the "Classpath" exception as provided
2362N/A * by Oracle in the LICENSE file that accompanied this code.
178N/A *
178N/A * This code is distributed in the hope that it will be useful, but WITHOUT
178N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
178N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
178N/A * version 2 for more details (a copy is included in the LICENSE file that
178N/A * accompanied this code).
178N/A *
178N/A * You should have received a copy of the GNU General Public License version
178N/A * 2 along with this work; if not, write to the Free Software Foundation,
178N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
178N/A *
2362N/A * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
2362N/A * or visit www.oracle.com if you need additional information or have any
2362N/A * questions.
178N/A */
178N/A
178N/Apackage java.lang.management;
178N/A
178N/Aimport javax.management.ObjectName;
178N/A
178N/A/**
178N/A * A platform managed object is a {@linkplain javax.management.MXBean JMX MXBean}
178N/A * for monitoring and managing a component in the Java platform.
178N/A * Each platform managed object has a unique
178N/A * <a href="ManagementFactory.html#MXBean">object name</a>
2015N/A * for the {@linkplain ManagementFactory#getPlatformMBeanServer
178N/A * platform MBeanServer} access.
178N/A * All platform MXBeans will implement this interface.
178N/A *
178N/A * <p>
178N/A * Note:
178N/A * The platform MXBean interfaces (i.e. all subinterfaces
178N/A * of {@code PlatformManagedObject}) are implemented
178N/A * by the Java platform only. New methods may be added in these interfaces
178N/A * in future Java SE releases.
178N/A * In addition, this {@code PlatformManagedObject} interface is only
178N/A * intended for the management interfaces for the platform to extend but
178N/A * not for applications.
178N/A *
3887N/A * @see ManagementFactory
178N/A * @since 1.7
178N/A */
178N/Apublic interface PlatformManagedObject {
178N/A /**
178N/A * Returns an {@link ObjectName ObjectName} instance representing
178N/A * the object name of this platform managed object.
178N/A *
178N/A * @return an {@link ObjectName ObjectName} instance representing
178N/A * the object name of this platform managed object.
178N/A */
178N/A public ObjectName getObjectName();
178N/A}