Java MBean removeTimerNotification(ObjectName timer, Integer id, MBeanServer server)

Here you can find the source of removeTimerNotification(ObjectName timer, Integer id, MBeanServer server)

Description

remove Timer Notification

License

LGPL

Declaration

public static void removeTimerNotification(ObjectName timer,
            Integer id, MBeanServer server) throws JMException 

Method Source Code

//package com.java2s;
//License from project: LGPL 

import javax.management.MBeanServer;
import javax.management.ObjectName;

import javax.management.JMException;

public class Main {
    private static final String REMOVE_NOTIFICATION_OPERATION_NAME = "removeNotification";
    private static final String[] REMOVE_NOTIFICATION_SIGNATURE = { Integer.class
            .getName() };

    public static void removeTimerNotification(ObjectName timer,
            Integer id, MBeanServer server) throws JMException {
        server.invoke(timer, REMOVE_NOTIFICATION_OPERATION_NAME,
                new Object[] { id }, REMOVE_NOTIFICATION_SIGNATURE);
    }/*w w  w.  j a  v a2  s  . com*/
}

Related

  1. queryConnectionBy(MBeanServerConnection connection, ObjectName objectName)
  2. readAttribute(MBeanServer mbeanServer, String mbeanName, String attributeName)
  3. registerMBean(MBeanServer mbs, Object object, ObjectName name, boolean unreg)
  4. registerMBean(MBeanServer server, String agentName, Map attrs, Object mbeanObject)
  5. registerMBean(Object bean, MBeanServer mBeanServer, ObjectName objectName)
  6. resolveServerClassLoader(Map env, MBeanServer mbs)
  7. setQueryExpServer(QueryExp query, MBeanServer toSet)
  8. toString(MBeanParameterInfo[] pinfo)
  9. unregisterMBean(MBeanServer mbs, ObjectName name)