Tabnine Logo
GlobalResourcesLifecycleListener.createMBeans
Code IndexAdd Tabnine to your IDE (free)

How to use
createMBeans
method
in
org.apache.catalina.mbeans.GlobalResourcesLifecycleListener

Best Java code snippets using org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.createMBeans (Showing top 20 results out of 315)

origin: tomcat/catalina

/**
 * Create the MBeans for the interesting global JNDI resources.
 */
protected void createMBeans() {
  // Look up our global naming context
  Context context = null;
  try {
    context = (Context) (new InitialContext()).lookup("java:/");
  } catch (NamingException e) {
    log.error("No global naming context defined for server");
    return;
  }
  // Recurse through the defined global JNDI resources context
  try {
    createMBeans("", context);
  } catch (NamingException e) {
    log.error("Exception processing Global JNDI Resources", e);
  }
}
origin: codefollower/Tomcat-Research

/**
 * Create the MBeans for the interesting global JNDI resources.
 */
protected void createMBeans() {
  // Look up our global naming context
  Context context = null;
  try {
    context = (Context) (new InitialContext()).lookup("java:/");
  } catch (NamingException e) {
    log.error("No global naming context defined for server");
    return;
  }
  // Recurse through the defined global JNDI resources context
  try {
    createMBeans("", context);
  } catch (NamingException e) {
    log.error("Exception processing Global JNDI Resources", e);
  }
}
origin: org.apache.catalina/com.springsource.org.apache.catalina

/**
 * Create the MBeans for the interesting global JNDI resources.
 */
protected void createMBeans() {
  // Look up our global naming context
  Context context = null;
  try {
    context = (Context) (new InitialContext()).lookup("java:/");
  } catch (NamingException e) {
    log.error("No global naming context defined for server");
    return;
  }
  // Recurse through the defined global JNDI resources context
  try {
    createMBeans("", context);
  } catch (NamingException e) {
    log.error("Exception processing Global JNDI Resources", e);
  }
}
origin: com.ovea.tajin.server/tajin-server-jetty9

/**
 * Create the MBeans for the interesting global JNDI resources.
 */
protected void createMBeans() {
  // Look up our global naming context
  Context context = null;
  try {
    context = (Context) (new InitialContext()).lookup("java:/");
  } catch (NamingException e) {
    log.error("No global naming context defined for server");
    return;
  }
  // Recurse through the defined global JNDI resources context
  try {
    createMBeans("", context);
  } catch (NamingException e) {
    log.error("Exception processing Global JNDI Resources", e);
  }
}
origin: com.ovea.tajin.servers/tajin-server-jetty9

/**
 * Create the MBeans for the interesting global JNDI resources.
 */
protected void createMBeans() {
  // Look up our global naming context
  Context context = null;
  try {
    context = (Context) (new InitialContext()).lookup("java:/");
  } catch (NamingException e) {
    log.error("No global naming context defined for server");
    return;
  }
  // Recurse through the defined global JNDI resources context
  try {
    createMBeans("", context);
  } catch (NamingException e) {
    log.error("Exception processing Global JNDI Resources", e);
  }
}
origin: com.ovea.tajin.server/tajin-server-tomcat7

/**
 * Create the MBeans for the interesting global JNDI resources.
 */
protected void createMBeans() {
  // Look up our global naming context
  Context context = null;
  try {
    context = (Context) (new InitialContext()).lookup("java:/");
  } catch (NamingException e) {
    log.error("No global naming context defined for server");
    return;
  }
  // Recurse through the defined global JNDI resources context
  try {
    createMBeans("", context);
  } catch (NamingException e) {
    log.error("Exception processing Global JNDI Resources", e);
  }
}
origin: org.apache.geronimo.ext.tomcat/catalina

/**
 * Create the MBeans for the interesting global JNDI resources.
 */
protected void createMBeans() {
  // Look up our global naming context
  Context context = null;
  try {
    context = (Context) (new InitialContext()).lookup("java:/");
  } catch (NamingException e) {
    log.error("No global naming context defined for server");
    return;
  }
  // Recurse through the defined global JNDI resources context
  try {
    createMBeans("", context);
  } catch (NamingException e) {
    log.error("Exception processing Global JNDI Resources", e);
  }
}
origin: org.apache.tomcat/tomcat-catalina

/**
 * Create the MBeans for the interesting global JNDI resources.
 */
protected void createMBeans() {
  // Look up our global naming context
  Context context = null;
  try {
    context = (Context) (new InitialContext()).lookup("java:/");
  } catch (NamingException e) {
    log.error("No global naming context defined for server");
    return;
  }
  // Recurse through the defined global JNDI resources context
  try {
    createMBeans("", context);
  } catch (NamingException e) {
    log.error("Exception processing Global JNDI Resources", e);
  }
}
origin: org.ops4j.pax.tipi/org.ops4j.pax.tipi.tomcat-embed-core

/**
 * Create the MBeans for the interesting global JNDI resources.
 */
protected void createMBeans() {
  // Look up our global naming context
  Context context = null;
  try {
    context = (Context) (new InitialContext()).lookup("java:/");
  } catch (NamingException e) {
    log.error("No global naming context defined for server");
    return;
  }
  // Recurse through the defined global JNDI resources context
  try {
    createMBeans("", context);
  } catch (NamingException e) {
    log.error("Exception processing Global JNDI Resources", e);
  }
}
origin: tomcat/catalina

/**
 * Primary entry point for startup and shutdown events.
 *
 * @param event The event that has occurred
 */
public void lifecycleEvent(LifecycleEvent event) {
  if (Lifecycle.START_EVENT.equals(event.getType())) {
    component = event.getLifecycle();
    createMBeans();
  } else if (Lifecycle.STOP_EVENT.equals(event.getType())) {
    destroyMBeans();
    component = null;
  }
}
origin: com.ovea.tajin.servers/tajin-server-jetty9

/**
 * Primary entry point for startup and shutdown events.
 *
 * @param event The event that has occurred
 */
public void lifecycleEvent(LifecycleEvent event) {
  if (Lifecycle.START_EVENT.equals(event.getType())) {
    component = event.getLifecycle();
    createMBeans();
  } else if (Lifecycle.STOP_EVENT.equals(event.getType())) {
    destroyMBeans();
    component = null;
  }
}
origin: com.ovea.tajin.server/tajin-server-tomcat7

/**
 * Primary entry point for startup and shutdown events.
 *
 * @param event The event that has occurred
 */
public void lifecycleEvent(LifecycleEvent event) {
  if (Lifecycle.START_EVENT.equals(event.getType())) {
    component = event.getLifecycle();
    createMBeans();
  } else if (Lifecycle.STOP_EVENT.equals(event.getType())) {
    destroyMBeans();
    component = null;
  }
}
origin: com.ovea.tajin.server/tajin-server-jetty9

/**
 * Primary entry point for startup and shutdown events.
 *
 * @param event The event that has occurred
 */
public void lifecycleEvent(LifecycleEvent event) {
  if (Lifecycle.START_EVENT.equals(event.getType())) {
    component = event.getLifecycle();
    createMBeans();
  } else if (Lifecycle.STOP_EVENT.equals(event.getType())) {
    destroyMBeans();
    component = null;
  }
}
origin: org.apache.catalina/com.springsource.org.apache.catalina

/**
 * Primary entry point for startup and shutdown events.
 *
 * @param event The event that has occurred
 */
@Override
public void lifecycleEvent(LifecycleEvent event) {
  if (Lifecycle.START_EVENT.equals(event.getType())) {
    component = event.getLifecycle();
    createMBeans();
  } else if (Lifecycle.STOP_EVENT.equals(event.getType())) {
    destroyMBeans();
    component = null;
  }
}
origin: org.apache.tomcat/tomcat-catalina

/**
 * Primary entry point for startup and shutdown events.
 *
 * @param event The event that has occurred
 */
@Override
public void lifecycleEvent(LifecycleEvent event) {
  if (Lifecycle.START_EVENT.equals(event.getType())) {
    component = event.getLifecycle();
    createMBeans();
  } else if (Lifecycle.STOP_EVENT.equals(event.getType())) {
    destroyMBeans();
    component = null;
  }
}
origin: codefollower/Tomcat-Research

/**
 * Primary entry point for startup and shutdown events.
 *
 * @param event The event that has occurred
 */
@Override
public void lifecycleEvent(LifecycleEvent event) {
  if (Lifecycle.START_EVENT.equals(event.getType())) {
    component = event.getLifecycle();
    createMBeans();
  } else if (Lifecycle.STOP_EVENT.equals(event.getType())) {
    destroyMBeans();
    component = null;
  }
}
origin: org.apache.geronimo.ext.tomcat/catalina

/**
 * Primary entry point for startup and shutdown events.
 *
 * @param event The event that has occurred
 */
@Override
public void lifecycleEvent(LifecycleEvent event) {
  if (Lifecycle.START_EVENT.equals(event.getType())) {
    component = event.getLifecycle();
    createMBeans();
  } else if (Lifecycle.STOP_EVENT.equals(event.getType())) {
    destroyMBeans();
    component = null;
  }
}
origin: org.ops4j.pax.tipi/org.ops4j.pax.tipi.tomcat-embed-core

/**
 * Primary entry point for startup and shutdown events.
 *
 * @param event The event that has occurred
 */
@Override
public void lifecycleEvent(LifecycleEvent event) {
  if (Lifecycle.START_EVENT.equals(event.getType())) {
    component = event.getLifecycle();
    createMBeans();
  } else if (Lifecycle.STOP_EVENT.equals(event.getType())) {
    destroyMBeans();
    component = null;
  }
}
origin: codefollower/Tomcat-Research

  createMBeans(name + "/", (Context) value);
} else if (value instanceof UserDatabase) {
  try {
    createMBeans(name, (UserDatabase) value);
  } catch (Exception e) {
    log.error("Exception creating UserDatabase MBeans for " + name,
origin: org.ops4j.pax.tipi/org.ops4j.pax.tipi.tomcat-embed-core

  createMBeans(name + "/", (Context) value);
} else if (value instanceof UserDatabase) {
  try {
    createMBeans(name, (UserDatabase) value);
  } catch (Exception e) {
    log.error("Exception creating UserDatabase MBeans for " + name, e);
org.apache.catalina.mbeansGlobalResourcesLifecycleListenercreateMBeans

Javadoc

Create the MBeans for the interesting global JNDI resources.

Popular methods of GlobalResourcesLifecycleListener

  • destroyMBeans
    Destroy the MBeans for the interesting global JNDI resources.
  • <init>

Popular in Java

  • Reactive rest calls using spring rest template
  • getSupportFragmentManager (FragmentActivity)
  • runOnUiThread (Activity)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • BufferedReader (java.io)
    Wraps an existing Reader and buffers the input. Expensive interaction with the underlying reader is
  • NumberFormat (java.text)
    The abstract base class for all number formats. This class provides the interface for formatting and
  • Random (java.util)
    This class provides methods that return pseudo-random values.It is dangerous to seed Random with the
  • Timer (java.util)
    Timers schedule one-shot or recurring TimerTask for execution. Prefer java.util.concurrent.Scheduled
  • FileUtils (org.apache.commons.io)
    General file manipulation utilities. Facilities are provided in the following areas: * writing to a
  • Scheduler (org.quartz)
    This is the main interface of a Quartz Scheduler. A Scheduler maintains a registry of org.quartz.Job
  • 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