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 * 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 178N/A * published by the Free Software Foundation. 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 * 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. 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 3887N/A * @summary Basic unit test of ManagementFactory.getPlatformMXBean(s) 3887N/A * methods and PlatformManagedObject.getObjectName() 178N/A * @run main GetPlatformMXBeans 3887N/A // singleton platform MXBean 3887N/A // the following MXBean can have more than one instances 3887N/A // check invalid platform MXBean 3887N/A // getPlatformMXBean may return null if the mxbean is not implemented 3887N/A // verify platform MXBeans in the platform MBeanServer 3887N/A // mxbeanInterface is not a singleton 178N/A // verify local list of platform MXBeans 178N/A " not in the platform MXBean list");
178N/A // verify platform MXBeans in the platform MBeanServer 3887N/A // mxbeanInterface is not a singleton 3887N/A // mxbeanInterface is not a singleton 3887N/A // mxbeanInterface is not a singleton 3887N/A // mxbeanInterface is not a singleton