Examples of shutdown()


Examples of org.chiba.xml.xforms.ChibaBean.shutdown()

         * @see javax.servlet.http.HttpSessionBindingListener#valueUnbound
         */
        public void valueUnbound(HttpSessionBindingEvent arg0) {
            ChibaBean chiba = (ChibaBean)chibaBeansCache.remove(key);
            try {
                chiba.shutdown();
            } catch (XFormsException e) {
                logger.debug(e.getMessage(), e);
            }
        }
    }
View Full Code Here

Examples of org.codehaus.xharness.log.TaskRegistry.shutdown()

        try {
            super.execute();
        } catch (BuildException be) {
            exception = be;
        } finally {
            registry.shutdown(exception);
            log("Completed " + toString(), Project.MSG_INFO);
        }
    }

    public String toString() {
View Full Code Here

Examples of org.drools.concurrent.ExternalExecutorService.shutdown()

        try {
            if ( this.ruleBase.getConfiguration().isMultithreadEvaluation() ) {
                ExternalExecutorService service = this.threadPool.get();
                if ( this.threadPool.compareAndSet( service,
                                                    null ) ) {
                    service.shutdown();
                    partitionManager.shutdown();
                }
            }
        } finally {
            endOperation();
View Full Code Here

Examples of org.drools.core.time.TimerService.shutdown()

        TimerService timeService = TimerServiceFactory.getTimerService( config );
        Trigger trigger = new DelayedTrigger( 100 );
        HelloWorldJobContext ctx = new HelloWorldJobContext( "hello world", timeService);
        timeService.scheduleJob( new HelloWorldJob(), ctx,  trigger);
        Thread.sleep( 500 );
        timeService.shutdown();
        assertEquals( 1, ctx.getList().size() );
    }
   
    @Test
    public void testRepeatedExecutionJob() throws Exception {
View Full Code Here

Examples of org.drools.time.TimerService.shutdown()

        TimerService timeService = TimerServiceFactory.getTimerService( config );
        Trigger trigger = new DelayedTrigger( 100 );
        HelloWorldJobContext ctx = new HelloWorldJobContext( "hello world", timeService);
        timeService.scheduleJob( new HelloWorldJob(), ctx,  trigger);
        Thread.sleep( 500 );
        timeService.shutdown();
        assertEquals( 1, ctx.getList().size() );
    }
   
    @Test
    public void testRepeatedExecutionJob() throws Exception {
View Full Code Here

Examples of org.eclipse.birt.report.engine.api.IReportEngine.shutdown()

    // render the report and destroy the engine
    // Note - If the program stays resident do not shutdown the Platform or
    // the Engine
    task2.close();
    engine.shutdown();
    Platform.shutdown();
    System.out.println("Finished");
  }

  /**
 
View Full Code Here

Examples of org.eclipse.ecf.internal.tests.filetransfer.httpserver.SimpleServer.shutdown()

      assertFalse(socketInReadWrapper.inRead);
      socketEvents.validateOneSocketCreatedAndClosed();

    } finally {
      server.shutdown();
    }
  }

  private static void writeLines(ResponseWriter w, String[] lines)
      throws IOException {
View Full Code Here

Examples of org.eclipse.jdt.internal.debug.core.EventDispatcher.shutdown()

   */
  public void shutdown() {
    EventDispatcher dispatcher = ((JDIDebugTarget) getDebugTarget())
        .getEventDispatcher();
    if (dispatcher != null) {
      dispatcher.shutdown();
    }
    try {
      if (supportsTerminate()) {
        terminate();
      } else if (supportsDisconnect()) {
View Full Code Here

Examples of org.eclipse.osgi.service.runnable.ApplicationLauncher.shutdown()

    // Shutdown the ApplicationLauncher service if it is available.
    ServiceReference launcherRef = context.getServiceReference(ApplicationLauncher.class.getName());
    if (launcherRef != null) {
      ApplicationLauncher launcher = (ApplicationLauncher) context.getService(launcherRef);
      // this will force a currently running application to stop.
      launcher.shutdown();
      context.ungetService(launcherRef);
    }
  }

  public void addProperties(Properties properties) {
View Full Code Here

Examples of org.eclipse.persistence.sessions.server.ConnectionPool.shutDown()

    public synchronized void resetAllConnections() {
        if (ClassConstants.ServerSession_Class.isAssignableFrom(getSession().getClass())) {
            Iterator enumtr = ((ServerSession)getSession()).getConnectionPools().values().iterator();
            while (enumtr.hasNext()) {
                ConnectionPool pool = (ConnectionPool)enumtr.next();
                pool.shutDown();
                pool.startUp();
            }
        } else if (ClassConstants.PublicInterfaceDatabaseSession_Class.isAssignableFrom(getSession().getClass())) {
            getSession().getAccessor().reestablishConnection(getSession());
        }
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.