protected ObjectName createExtensionMBeanName() throws Exception { return this.context.getMBeanNames().createCustomComponentMBeanName("Configuration"); }
/** * the constructor. * @param c * the component context * @param dl * the rmi delivery channel * @throws RemoteException * impossbile to realize a rmi access */ public RemoteComponentContextImpl(final ComponentContext c, final RemoteDeliveryChannel dl) throws RemoteException { super(); this.componentContext = c; this.rmiDeliveryChannel = dl; this.mBn = new org.objectweb.petals.tools.rmi.common.serializable. MBeanNames(this.componentContext.getMBeanNames().getJmxDomainName()); }
protected ObjectName createExtensionMBeanName() throws Exception { return this.context.getContext().getMBeanNames().createCustomComponentMBeanName("bootstrap"); }
mEnv.getMBeanNames().getJmxDomainName(), System.getProperty("com.sun.jbi.instanceName")); mMBeanNames = (com.sun.jbi.management.MBeanNames) mbnamesImpl;
protected ObjectName createExtensionMBeanName() throws Exception { return this.context.getContext().getMBeanNames().createCustomComponentMBeanName("bootstrap"); }
mEnv.getMBeanNames().getJmxDomainName(), System.getProperty("com.sun.jbi.instanceName")); mMBeanNames = (com.sun.jbi.management.MBeanNames) mbnamesImpl;
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); }