Java MBean isRegistered(MBeanServer mbs, ObjectName objectName)

Here you can find the source of isRegistered(MBeanServer mbs, ObjectName objectName)

Description

is Registered

License

Open Source License

Declaration

public static boolean isRegistered(MBeanServer mbs,
            ObjectName objectName) 

Method Source Code

//package com.java2s;
/**//from w ww .  j av  a 2  s  .co  m
 * Logback: the reliable, generic, fast and flexible logging framework.
 * Copyright (C) 1999-2011, QOS.ch. All rights reserved.
 *
 * This program and the accompanying materials are dual-licensed under
 * either the terms of the Eclipse Public License v1.0 as published by
 * the Eclipse Foundation
 *
 *   or (per the licensee's choosing)
 *
 * under the terms of the GNU Lesser General Public License version 2.1
 * as published by the Free Software Foundation.
 */

import javax.management.MBeanServer;

import javax.management.ObjectName;

public class Main {
    public static boolean isRegistered(MBeanServer mbs,
            ObjectName objectName) {
        return mbs.isRegistered(objectName);
    }
}

Related

  1. infoArrayEquals(MBeanParameterInfo[] a, MBeanParameterInfo[] a2)
  2. infoEquals(MBeanInfo one, MBeanInfo two)
  3. invoke(Logger logger, MBeanServer mbeanServer, ObjectName mbeanName, String methodName, Object... arguments)
  4. invoke(MBeanServer mbs, ObjectName name, String operationName, Object params[], String signature[])
  5. invokeStopOperation(ObjectName name, MBeanServer server)
  6. isServerStarted(MBeanServerConnection server)
  7. listMBeans(MBeanServerConnection mbsc, String objectNameStr)
  8. makeMBeanName(@Nonnull final String domain, @Nonnull final String type, @Nonnull final String channelName)
  9. makeSignatureString(MBeanParameterInfo[] info)