List of usage examples for org.springframework.jmx.export MBeanExporterListener mbeanRegistered
void mbeanRegistered(ObjectName objectName);
From source file:org.springframework.jmx.export.MBeanExporter.java
/** * Notifies all registered <code>MBeanExporterListener</code> that an MBean * with the supplied <code>ObjectName</code> has been registered. * @param objectName the <code>ObjectName</code> of the registered MBean * @see MBeanExporterListener/* w w w. j a v a 2s .com*/ */ private void notifyListenersOfRegistration(ObjectName objectName) { if (this.listeners != null) { for (int i = 0; i < this.listeners.length; i++) { MBeanExporterListener listener = this.listeners[i]; listener.mbeanRegistered(objectName); } } }