public ObjectName getExtensionMBeanName() { return lifeCycle.getExtensionMBeanName(); }
public ObjectName getExtensionMBeanName() throws JBIException { return component.getLifeCycle().getExtensionMBeanName(); }
/** * Get the JMX ObjectName for any additional MBean for this component. If * there is none, return null. * @throws javax.jbi.JBIException if there is a failure getting component * information from the Component Registry. * @return ObjectName the JMX object name of the additional MBean or null * if there is no additional MBean. */ public ObjectName getExtensionMBeanName() throws javax.jbi.JBIException { ObjectName name = null; javax.jbi.component.ComponentLifeCycle instance = mComponent.getLifeCycleInstance(false); if ( instance != null ) { name = instance.getExtensionMBeanName(); } return name; }
/** * Get the JMX ObjectName for any additional MBean for this component. If there is none, return null. * * @return ObjectName the JMX object name of the additional MBean or null if there is no additional MBean. */ public ObjectName getExtensionMBeanName() { if (isInitialized() || isStarted() || isStopped()) { return lifeCycle.getExtensionMBeanName(); } else { return null; } }
getComponent().getLifeCycle().shutDown(); } else if (MBEANNAME.equals(action)) { objectName = getComponent().getLifeCycle().getExtensionMBeanName(); } else if (SHUTDOWNTHREAD.equals(action)) { result = false;
} else if (MBEANNAME.equals(action)) { objectName = getComponent().getLifeCycle() .getExtensionMBeanName(); } else if (SHUTDOWNTHREAD.equals(action)) { result = false;
.getLifeCycle().getExtensionMBeanName(); try { this.adminService.getMBeanServer().unregisterMBean(extName);
if (this.componentContext.getComponent().getLifeCycle() != null) { ObjectName extName = this.componentContext.getComponent().getLifeCycle() .getExtensionMBeanName(); if (extName != null) { this.adminService.getMBeanServer().unregisterMBean(extName);