Examples of terminate()


Examples of org.eclipse.debug.core.ILaunch.terminate()

    @Override
    public synchronized void dispose() {
        try {
            final ILaunch launch = getData().getLaunch();
            if (launch != null && !launch.isTerminated()) {
                launch.terminate();
            }
        } catch (final DebugException e) {
            ErlLogger.error(e);
        }
        super.dispose();
View Full Code Here

Examples of org.eclipse.debug.core.ILaunch.terminate()

                    if ( ( launch != null ) && ( !launch.isTerminated() ) )
                    {
                        // Terminating the launch
                        try
                        {
                            launch.terminate();
                            writeToInfoConsoleMessageStream( Messages.getString( "StopAction.ServerStopped" ) ); //$NON-NLS-1$
                        }
                        catch ( DebugException e )
                        {
                            ApacheDsPluginUtils.reportError( Messages.getString( "StopAction.ErrorWhenStopping" ) //$NON-NLS-1$
View Full Code Here

Examples of org.eclipse.debug.core.model.IDebugTarget.terminate()

      }
    }

    try
    {
      target.terminate();
    } catch (DebugException e)
    {
      DestecsDebugPlugin.logError("Failed to terminate destecs target", e);
    }
    refreshProject();
View Full Code Here

Examples of org.eclipse.debug.core.model.IProcess.terminate()

    IProcess[] processes = launch.getProcesses();
    if (processes!=null) {
      for (int i = 0; i < processes.length; i++) {
        IProcess iProcess = processes[i];
        try {
          iProcess.terminate();
        } catch (DebugException e) {
          // TODO Auto-generated catch block
          e.printStackTrace();
        }
      }
View Full Code Here

Examples of org.eclipse.debug.core.model.IProcess.terminate()

            if ( vm != null ) {
                vm.exit( 1 );
            }
            IProcess process = getProcess();
            if ( process != null ) {
                process.terminate();
            }
        } catch ( VMDisconnectedException e ) {
            // if the VM disconnects while exiting, perform
            // normal termination processing
            terminated();
View Full Code Here

Examples of org.factor45.malabarista.balancing.DefaultLoadBalancer.terminate()

        Thread shutdownHook = new Thread() {

            @Override
            public void run() {
                loadBalancer.terminate();
            }
        };
        Runtime.getRuntime().addShutdownHook(shutdownHook);
    }
}
View Full Code Here

Examples of org.glassfish.grizzly.http.io.InputBuffer.terminate()

            HttpServerProbeNotifier.notifyRequestCancel(
                    request.httpServerFilter, ctx.getConnection(), request);
           
            final InputBuffer inputBuffer = request.getInputBuffer();
            if (!inputBuffer.isFinished()) {
                inputBuffer.terminate();
            }
           
            return true;
        }
       
View Full Code Here

Examples of org.jruby.embed.ScriptingContainer.terminate()

    // if the script can be executed repeatedly, all is fine. It raises an exception
    // if the driver got unregistered at some point.
    for (int i=1;i<=5;i++){
      ScriptingContainer c = RubyStepFactory.createScriptingContainer(false, RubyVersion.RUBY_1_8);
      c.runScriptlet(testScript);
      c.terminate();
      System.out.println("Testing JDBC Driver persistence: iteration "+i);
    }
   
  }
 
View Full Code Here

Examples of org.openbel.framework.api.internal.KAMCatalogDao.terminate()

            kamInfo = kcdao.getKamInfoByName(kamName);
        } catch (SQLException e) {
            throw new PKAMSerializationFailure(filePath, e.getMessage());
        } finally {
            if (kcdao != null) {
                kcdao.terminate();
            }
        }

        return kamInfo;
    }
View Full Code Here

Examples of org.openbel.framework.core.kam.JdbcKAMLoaderImpl.terminate()

            final String msg = "Error loading statement annotations";
            throw new DatabaseError(schema, msg, e);
        }

        // close loader dao
        jkl.terminate();
    }
}
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.