Examples of disconnect()


Examples of org.drools.workflow.instance.impl.WorkflowProcessInstanceImpl.disconnect()

        if (processInstance.getProcessId().equals(processId)) {
            return;
        }
        synchronized (processInstance) {
          org.drools.definition.process.Process oldProcess = processInstance.getProcess();
          processInstance.disconnect();
          processInstance.setProcess(oldProcess);
          updateNodeInstances(processInstance, nodeMapping);
          processInstance.setWorkingMemory((InternalWorkingMemory) workingMemory);
          processInstance.setProcess(process);
          processInstance.reconnect();
View Full Code Here

Examples of org.eclipse.cdt.internal.ui.editor.WorkingCopyManager.disconnect()

          index.releaseReadLock();
        }
      }
    }finally{
      manager.removeWorkingCopy(input);
      manager.disconnect(input);
    }

    return result;
  }
View Full Code Here

Examples of org.eclipse.core.filebuffers.IFileBufferManager.disconnect()

  protected void disposeFileInfo(Object element, FileInfo info) {
    IFileBufferManager manager= FileBuffers.getTextFileBufferManager();
    try {
      info.fTextFileBuffer.releaseSynchronizationContext();
      if (info.fTextFileBufferLocationKind != null)
        manager.disconnect(info.fTextFileBuffer.getLocation(), info.fTextFileBufferLocationKind, getProgressMonitor());
      else
        manager.disconnectFileStore(info.fTextFileBuffer.getFileStore(), getProgressMonitor());
    } catch (CoreException x) {
      handleCoreException(x, "FileDocumentProvider.disposeElementInfo"); //$NON-NLS-1$
    }
View Full Code Here

Examples of org.eclipse.core.filebuffers.ITextFileBufferManager.disconnect()

            String bufText = bm.getTextFileBuffer(fileLocation).getDocument().get();          
            assertEquals(doc.get(), bufText);
        }
        finally
        {
            bm.disconnect(fileLocation, new NullProgressMonitor());
            closeEditor(editor);
        }
    }
   
    public void testFindReplace() throws Exception
View Full Code Here

Examples of org.eclipse.datatools.connectivity.IConnectionProfile.disconnect()

    if (profile != null && !matchesProfile(profile, tunnelDescriptor)) {
      // Different credentials for the same profile, most likely
      // meaning that a new tunnel was created, and the old profile
      // has obsolete credentials.
      if (profile.getConnectionState() == IConnectionProfile.CONNECTED_STATE) {
        IStatus status = profile.disconnect();
        if (!status.isOK()) {
          CloudFoundryPlugin.log(status);
        }
      }
View Full Code Here

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

    IDebugTarget[] debugTargets = launch.getDebugTargets();
    if (debugTargets != null) {
      for (int i = 0; i < debugTargets.length; i++) {
        IDebugTarget iDebugTarget = debugTargets[i];
        try {
          iDebugTarget.disconnect();
        } catch (DebugException e) {
          // TODO Auto-generated catch block
          e.printStackTrace();
        }
      }
View Full Code Here

Examples of org.eclipse.ecf.core.IContainer.disconnect()

    // decouple the long running connect call from the ui thread
    return new Job(NLS.bind("Connecting {0}", createConnectId.getName())) {
      protected IStatus run(IProgressMonitor monitor) {
        if (container == null)
          return Status.OK_STATUS;
        container.disconnect();
        return Status.OK_STATUS;
      }
    };
  }
}
View Full Code Here

Examples of org.eclipse.ecf.provider.dnssd.DnsSdDiscoveryAdvertiser.disconnect()

    advertiser.connect(null, null);
   
    try {
      advertiser.registerService(serviceInfo);
    } catch(ECFRuntimeException e) {
      advertiser.disconnect();
      return;
    }
    fail("Register should have failed without a host key given.");
  }
View Full Code Here

Examples of org.eclipse.jdt.ui.IWorkingCopyManager.disconnect()

    } catch (JavaModelException e) {
      e.printStackTrace();
    } catch (CoreException e) {
      e.printStackTrace();
    } finally {
      manager.disconnect(editorInput);
    }

  }

  /**
 
View Full Code Here

Examples of org.eclipse.jetty.rhttp.client.JettyClient.disconnect()

                client1.connect();
                try
                {
                    final RHTTPClient client2 = new JettyClient(httpClient, address, server.getContext().getContextPath()+GatewayServer.DFT_CONNECT_PATH, targetId);
                    // Disconnect client 2, this should not disconnect client1
                    client2.disconnect();

                    // We want the await() to expire, it means it has not disconnected
                    assertFalse(latch.await(1000, TimeUnit.MILLISECONDS));
                }
                finally
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.