Tabnine Logo
MBeanNames
Code IndexAdd Tabnine to your IDE (free)

How to use
MBeanNames
in
javax.jbi.management

Best Java code snippets using javax.jbi.management.MBeanNames (Showing top 9 results out of 315)

origin: org.apache.servicemix/servicemix-common

protected ObjectName createExtensionMBeanName() throws Exception {
  return this.context.getMBeanNames().createCustomComponentMBeanName("Configuration");
}
origin: org.objectweb.petals.tools.rmi/petals-rmi-server

/**
 * 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());
}
origin: org.apache.servicemix/servicemix-jms

protected ObjectName createExtensionMBeanName() throws Exception {
  return this.context.getContext().getMBeanNames().createCustomComponentMBeanName("bootstrap");
}
origin: net.open-esb.core/manage

    mEnv.getMBeanNames().getJmxDomainName(), 
    System.getProperty("com.sun.jbi.instanceName"));
mMBeanNames = (com.sun.jbi.management.MBeanNames) mbnamesImpl;
origin: org.apache.servicemix/servicemix-common

protected ObjectName createExtensionMBeanName() throws Exception {
  return this.context.getContext().getMBeanNames().createCustomComponentMBeanName("bootstrap");
}
origin: net.open-esb.core/manage

    mEnv.getMBeanNames().getJmxDomainName(), 
    System.getProperty("com.sun.jbi.instanceName"));
mMBeanNames = (com.sun.jbi.management.MBeanNames) mbnamesImpl;
origin: org.apache.servicemix/servicemix-common

protected ObjectName createExtensionMBeanName() throws Exception {
  return this.context.getContext().getMBeanNames().createCustomComponentMBeanName("bootstrap");
}
origin: org.apache.ode/ode-jbi

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);
  }
}
origin: org.apache.servicemix/servicemix-http

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);
}
javax.jbi.managementMBeanNames

Javadoc

This interface provides methods to create JMX object names for component- supplied MBeans. This ensures that component-supplied MBeans follow the JBI implementation-determined naming convention.

Components obtain instances of this name creator using javax.jbi.component.ComponentContext#getMBeanNames().

Most used methods

  • createCustomComponentMBeanName
    Formulate and return an MBean ObjectName for a custom control of this name creator's JBI component.
  • getJmxDomainName
    Retrieve the default JMX Domain Name for MBeans registered in this instance of the JBI implementatio

Popular in Java

  • Finding current android device location
  • getSharedPreferences (Context)
  • setRequestProperty (URLConnection)
  • getResourceAsStream (ClassLoader)
  • FileOutputStream (java.io)
    An output stream that writes bytes to a file. If the output file exists, it can be replaced or appen
  • Scanner (java.util)
    A parser that parses a text string of primitive types and strings with the help of regular expressio
  • JComboBox (javax.swing)
  • Table (org.hibernate.mapping)
    A relational table
  • LoggerFactory (org.slf4j)
    The LoggerFactory is a utility class producing Loggers for various logging APIs, most notably for lo
  • Location (org.springframework.beans.factory.parsing)
    Class that models an arbitrary location in a Resource.Typically used to track the location of proble
  • Top 17 Plugins for Android Studio
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now