Codota Logo
QuartzService.unbind
Code IndexAdd Codota to your IDE (free)

How to use
unbind
method
in
org.quartz.ee.jmx.jboss.QuartzService

Best Java code snippets using org.quartz.ee.jmx.jboss.QuartzService.unbind (Showing top 6 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
Connection c =
  • Codota IconDataSource dataSource;dataSource.getConnection()
  • Codota IconString url;DriverManager.getConnection(url)
  • Codota IconIdentityDatabaseUtil.getDBConnection()
  • Smart code suggestions by Codota
}
origin: quartz-scheduler/quartz

@Override
public void stopService() throws Exception {
  log.info("Stop QuartzService(" + jndiName + ")...");
  try {
    Scheduler scheduler = schedulerFactory.getScheduler();
    scheduler.shutdown();
  } catch (Exception e) {
    log.error("Failed to shutdown Scheduler", e);
    throw new SchedulerConfigException(
        "Failed to shutdown Scheduler - ", e);
  }
  unbind(jndiName);
  log.info("QuartzService(" + jndiName + ") stopped.");
}
origin: quartz-scheduler/quartz

@Override
public void stopService() throws Exception {
  log.info("Stop QuartzService(" + jndiName + ")...");
  try {
    Scheduler scheduler = schedulerFactory.getScheduler();
    scheduler.shutdown();
  } catch (Exception e) {
    log.error("Failed to shutdown Scheduler", e);
    throw new SchedulerConfigException(
        "Failed to shutdown Scheduler - ", e);
  }
  unbind(jndiName);
  log.info("QuartzService(" + jndiName + ") stopped.");
}
origin: quartz-scheduler/quartz

public void setJndiName(String jndiName) throws Exception {
  String oldName = this.jndiName;
  this.jndiName = jndiName;
  if (super.getState() == STARTED) {
    unbind(oldName);
    try {
      rebind();
    } catch (NamingException ne) {
      log.error("Failed to rebind Scheduler", ne);
      throw new SchedulerConfigException(
          "Failed to rebind Scheduler - ", ne);
    }
  }
}
origin: quartz-scheduler/quartz

public void setJndiName(String jndiName) throws Exception {
  String oldName = this.jndiName;
  this.jndiName = jndiName;
  if (super.getState() == STARTED) {
    unbind(oldName);
    try {
      rebind();
    } catch (NamingException ne) {
      log.error("Failed to rebind Scheduler", ne);
      throw new SchedulerConfigException(
          "Failed to rebind Scheduler - ", ne);
    }
  }
}
origin: org.quartz-scheduler/quartz-jboss

@Override
public void stopService() throws Exception {
  log.info("Stop QuartzService(" + jndiName + ")...");
  try {
    Scheduler scheduler = schedulerFactory.getScheduler();
    scheduler.shutdown();
  } catch (Exception e) {
    log.error("Failed to shutdown Scheduler", e);
    throw new SchedulerConfigException(
        "Failed to shutdown Scheduler - ", e);
  }
  unbind(jndiName);
  log.info("QuartzService(" + jndiName + ") stopped.");
}
origin: org.quartz-scheduler/quartz-jboss

public void setJndiName(String jndiName) throws Exception {
  String oldName = this.jndiName;
  this.jndiName = jndiName;
  if (super.getState() == STARTED) {
    unbind(oldName);
    try {
      rebind();
    } catch (NamingException ne) {
      log.error("Failed to rebind Scheduler", ne);
      throw new SchedulerConfigException(
          "Failed to rebind Scheduler - ", ne);
    }
  }
}
org.quartz.ee.jmx.jbossQuartzServiceunbind

Popular methods of QuartzService

  • rebind

Popular in Java

  • Reading from database using SQL prepared statement
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • getSharedPreferences (Context)
  • compareTo (BigDecimal)
    Compares this BigDecimal with the specified BigDecimal. Two BigDecimal objects that are equal in val
  • GridLayout (java.awt)
    The GridLayout class is a layout manager that lays out a container's components in a rectangular gri
  • Socket (java.net)
    Provides a client-side TCP socket.
  • Iterator (java.util)
    An iterator over a collection. Iterator takes the place of Enumeration in the Java Collections Frame
  • SSLHandshakeException (javax.net.ssl)
    The exception that is thrown when a handshake could not be completed successfully.
  • FileUtils (org.apache.commons.io)
    General file manipulation utilities. Facilities are provided in the following areas: * writing to a
  • Table (org.hibernate.mapping)
    A relational table
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now