Examples of shutdown()


Examples of bitronix.tm.twopc.executor.Executor.shutdown()

            } else {
                if (log.isDebugEnabled()) { log.debug("using SyncExecutor"); }
                executor = new SyncExecutor();
            }
            if (!executorRef.compareAndSet(null, executor)) {
                executor.shutdown();
                executor = executorRef.get();
            }
        }
        return executor;
    }
View Full Code Here

Examples of bitronix.tm.utils.ExceptionAnalyzer.shutdown()

                } catch (Exception ex) {
                    log.warn("failed to initialize custom exception analyzer, using default one instead", ex);
                }
            }
            if (!exceptionAnalyzerRef.compareAndSet(null, analyzer)) {
                analyzer.shutdown();
                analyzer = exceptionAnalyzerRef.get();
            }
        }
        return analyzer;
    }
View Full Code Here

Examples of bm.db.Database.shutdown()

                        }

                    case SHUTDOWN:
                        if( db != null )
                        {
                            db.shutdown();
                        }
                        else
                        {
                            return null;
                        }
View Full Code Here

Examples of bm.db.index.Index.shutdown()

            //noinspection ConstantConditions
            final Index index = (Index) indexMap.get(
                    indexInfo[i].getFieldExpression().toLowerCase()
            );
            log.debug( "shutdown index: " + index.getName() );
            index.shutdown();
            index.drop();
        }
        open();
        try
        {
View Full Code Here

Examples of br.gov.frameworkdemoiselle.internal.implementation.Management.shutdown()

  }

  public void unregisterAvailableManagedTypes(@Observes final AfterShutdownProccess event) {

    Management manager = Beans.getReference(Management.class);
    manager.shutdown(managementExtensionCache);

    managementExtensionCache.clear();
    types.clear();
  }
View Full Code Here

Examples of br.gov.frameworkdemoiselle.internal.management.Management.shutdown()

  }

  public void unregisterAvailableManagedTypes(@Observes final AfterShutdownProccess event) {

    Management manager = Beans.getReference(Management.class);
    manager.shutdown(managementExtensionCache);

    managementExtensionCache.clear();
    types.clear();
  }
View Full Code Here

Examples of br.gov.frameworkdemoiselle.lifecycle.ManagementExtension.shutdown()

    for (Class<? extends ManagementExtension> monitoringExtensionClass : monitoringExtensions) {

      ManagementExtension monitoringExtension = Beans.getReference(monitoringExtensionClass);

      monitoringExtension.shutdown(this.getManagedTypes());

      logger.debug(bundle.getString("management-debug-removing-management-extension", monitoringExtension
          .getClass().getCanonicalName()));

    }
View Full Code Here

Examples of br.gov.frameworkdemoiselle.management.ManagementExtension.shutdown()

  public void shutdown(Collection<Class<? extends ManagementExtension>> monitoringExtensions) {
    for (Class<? extends ManagementExtension> monitoringExtensionClass : monitoringExtensions) {

      ManagementExtension monitoringExtension = Beans.getReference(monitoringExtensionClass);
      monitoringExtension.shutdown(this.getManagedTypes());
      logger.debug(bundle.getString("management-debug-removing-management-extension", monitoringExtension
          .getClass().getCanonicalName()));

    }
  }
View Full Code Here

Examples of ca.carleton.gcrc.couch.date.impl.DateRobotThread.shutdown()

  public void destroy() {
    if( null != robot ){
      DateRobotThread thread = robot;
      robot = null;
      try{
        thread.shutdown();
        thread.join();
      } catch(Exception e) {
        // just ignore. We're shutting down
      }
    }
View Full Code Here

Examples of ca.carleton.gcrc.couch.submission.impl.SubmissionRobotThread.shutdown()

      return;
    }
    SubmissionRobotThread thread = workerThread;
    workerThread = null;

    thread.shutdown();
    thread.join();
  }

  synchronized public void stopTimeoutMillis(int millis) throws Exception {
    if( null == workerThread ) {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.