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

How to use
createCustomComponentMBeanName
method
in
javax.jbi.management.MBeanNames

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

origin: org.apache.servicemix/servicemix-common

protected ObjectName createExtensionMBeanName() throws Exception {
  return this.context.getMBeanNames().createCustomComponentMBeanName("Configuration");
}
origin: org.apache.servicemix/servicemix-common

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

protected ObjectName createExtensionMBeanName() throws Exception {
  return this.context.getContext().getMBeanNames().createCustomComponentMBeanName("bootstrap");
}
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.managementMBeanNamescreateCustomComponentMBeanName

Javadoc

Formulate and return an MBean ObjectName for a custom control of this name creator's JBI component.

This is used by components to create JMX names for their own JMX controls, allowing the JBI implementation to prefix the created name to fit within the implementation's own naming scheme.

Standard extensions must use the following custom name constants:

  • Bootstrap (installer) extension: MBeanNames#BOOTSTRAP_EXTENSION.
  • Component life cycle extension: MBeanNames#COMPONENT_LIFE_CYCLE_EXTENSION.

All other custom component MBeans must use custom names that do not collide with the standard extension names.

Popular methods of MBeanNames

  • 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
  • getSystemService (Context)
  • startActivity (Activity)
  • getExternalFilesDir (Context)
  • URLConnection (java.net)
    A connection to a URL for reading or writing. For HTTP connections, see HttpURLConnection for docume
  • Collections (java.util)
    This class consists exclusively of static methods that operate on or return collections. It contains
  • Set (java.util)
    A Set is a data structure which does not allow duplicate elements.
  • BlockingQueue (java.util.concurrent)
    A java.util.Queue that additionally supports operations that wait for the queue to become non-empty
  • ExecutorService (java.util.concurrent)
    An Executor that provides methods to manage termination and methods that can produce a Future for tr
  • IOUtils (org.apache.commons.io)
    General IO stream manipulation utilities. This class provides static utility methods for input/outpu
  • From CI to AI: The AI layer in your organization
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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