protected ObjectName createExtensionMBeanName() throws Exception { return this.context.getMBeanNames().createCustomComponentMBeanName("Configuration"); }
protected ObjectName createExtensionMBeanName() throws Exception { return this.context.getContext().getMBeanNames().createCustomComponentMBeanName("bootstrap"); }
protected ObjectName createExtensionMBeanName() throws Exception { return this.context.getContext().getMBeanNames().createCustomComponentMBeanName("bootstrap"); }
protected ObjectName createExtensionMBeanName() throws Exception { return this.context.getContext().getMBeanNames().createCustomComponentMBeanName("bootstrap"); }
private void registerMBean() throws JBIException { ProcessAndInstanceManagementMBean pmapi = new ProcessAndInstanceManagementMBean(_ode._server,_ode._store); MBeanServer server = _ode.getContext().getMBeanServer(); try { if (server != null) { _mbeanName = _ode.getContext().getMBeanNames().createCustomComponentMBeanName("Management"); if (server.isRegistered(_mbeanName)) { server.unregisterMBean(_mbeanName); } server.registerMBean(pmapi, _mbeanName); } } catch (Exception e) { throw new JBIException(e); } }
protected void doInit() throws Exception { configuration = new HttpConfiguration(); configuration.setRootDir(this.context.getInstallRoot()); configuration.setComponentName(this.context.getComponentName()); configuration.load(); ObjectName name = this.context.getContext().getMBeanNames().createCustomComponentMBeanName("bootstrap"); this.mbeanName = MBeanServerHelper.register(getMBeanServer(), name, configuration); }