Examples of disconnect()


Examples of org.geoserver.cluster.client.JMSContainer.disconnect()

                    org.apache.wicket.markup.html.form.Form<?> form) {
                // the container to use
                final JMSContainer c = getJMSContainer();
                if (c.isRunning()) {
                    fp.info("Disconnecting...");
                    if (c.disconnect()) {
                        fp.info("Succesfully un-registered from the destination topic");
                        fp.warn("You will (probably) loose next incoming events from other instances!!! (depending on how you have configured the broker)");
                        connectionInfo.getModel().setObject(
                                ConnectionConfigurationStatus.disabled.toString());
                    } else {
View Full Code Here

Examples of org.hibernate.Session.disconnect()

      if (hsl != null) {
        session = hsl.getSession();
        // gibt es eine Hibernate-Session und ist diese mit der DB verbunden,
        // dann wird diese jetzt getrennt
        if (session != null && session.isConnected()) {
          session.disconnect();
        }
      }
    }
  }
View Full Code Here

Examples of org.hibernate.classic.Session.disconnect()

                sessionControl.reset();
                session.getFlushMode();
                sessionControl.setReturnValue(FlushMode.AUTO, 1);
                session.flush();
                sessionControl.setVoidCallable(1);
                session.disconnect();
                sessionControl.setReturnValue(null, 1);
                session.clear();
                sessionControl.setVoidCallable(1);
                sessionControl.replay();
              }
View Full Code Here

Examples of org.hive2hive.core.api.interfaces.IH2HNode.disconnect()

   
    // shutdown network
    IH2HNode node = menus.getNodeMenu().getNode();
    if (node != null && node.isConnected()) {
      print("Disconnecting from the network...");
      node.disconnect();     
    }
   
    // stop file observer
    IFileObserver fileObserver = menus.getFileObserverMenu().getFileObserver();
    if (fileObserver != null && fileObserver.isRunning()) {
View Full Code Here

Examples of org.hornetq.spi.core.protocol.RemotingConnection.disconnect()

            HornetQServerLogger.LOGGER.trace("Sending connection.disconnection packet to " + conn);
         }

         if (!conn.isClient())
         {
            conn.disconnect(false);
            connections.remove(entry.getKey());
         }
      }

   }
View Full Code Here

Examples of org.huihoo.workflow.client.InitialSerialClient.disconnect()

    SerialCase liveCase=caseDatabase.findLiveCase(sessionID,liveProcess,caseId);   
    System.err.println("PackageID="+liveCase.getPackageID());
   
    SerialWork liveWork=(SerialWork)caseDatabase.getLiveWorkList(sessionID,liveProcess,liveCase,zosatapo,Constants.WORK_STATUS_ACCEPTED).get(0);
    caseDatabase.dispatch(sessionID,liveWork);
    liveClient.disconnect();
   
    System.err.println("-------org.huihoo.workflow execution completed--------------");
  }
}
View Full Code Here

Examples of org.jasig.portal.utils.AddressTester.disconnect()

                  HttpURLConnection httpUrlConnect = (HttpURLConnection) tester.getConnection();
                  httpUrlConnect.connect();

                  work_value = httpUrlConnect.getHeaderField("Location"); ;
                } finally {
                  tester.disconnect();
                }
              }
            }

            return value;
View Full Code Here

Examples of org.javatari.atari.network.RemoteReceiver.disconnect()

        gray(false);
      }});
    } else // Will try to DISCONNECT
      try {
        RemoteReceiver receiver = room.clientCurrentConsole().remoteReceiver();
        receiver.disconnect();
        room.morphToStandaloneMode();
      } catch (Exception ex) {
        JOptionPane.showMessageDialog(null, "Error disconnecting from Server:\n" + ex, "javatari P2 Client", JOptionPane.ERROR_MESSAGE);
      }
      refreshMultiplayer();
View Full Code Here

Examples of org.jboss.jca.core.connectionmanager.listener.ConnectionCacheListener.disconnect()

               cmToConnectionsMapIterator.next();

            ConnectionCacheListener cm = entry.getKey();
            CopyOnWriteArrayList<ConnectionRecord> conns =  entry.getValue();

            cm.disconnect(conns, unsharableResources);
         }
      }
   }

   /**
 
View Full Code Here

Examples of org.jboss.remoting.Client.disconnect()

         for (int j = 0; j < 100; j++)
         {
            cl.invoke("pickled onions");
         }
        
         cl.disconnect();
      }
    
      serverConnector.stop();
     
      serverConnector.destroy();     
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.