Examples of stop()


Examples of org.jboss.fresh.events.net.EventNetRouter.stop()

        return;
      }
      router.setConID(conID);

log.info("Stopping current router ...");
      router.stop(true);
log.info("ok.  getting connector and replacing buffers ...");
      EventNetShellAgentConnector con = (EventNetShellAgentConnector) router.getConnector();
      con.setOutput(new BufferObjectWriter(getStdOut()));
      con.setInput(new BufferObjectReader(getStdIn()));
log.info("ok. Creating new ProcessorThread");
View Full Code Here

Examples of org.jboss.fresh.pool.pool.impl.PoolImpl.stop()

    try {

      PoolImpl pool = (PoolImpl) getServiceObject();

      if (pool != null) pool.stop();

      String fname = getFactoryName();
      ClassLoader cl = Thread.currentThread().getContextClassLoader();

      Class fc = cl.loadClass(fname);
View Full Code Here

Examples of org.jboss.gravia.runtime.Module.stop()

        Assert.assertNotNull("Null sreg", sreg);

        String service = context.getService(sreg.getReference());
        Assert.assertEquals("Hello", service);

        modA.stop();
        Assert.assertEquals(Module.State.INSTALLED, modA.getState());

        modA.uninstall();
        Assert.assertEquals(Module.State.UNINSTALLED, modA.getState());
View Full Code Here

Examples of org.jboss.gravia.runtime.ModuleActivator.stop()

            // #5 The {@link ModuleActivator#stop(ModuleContext)} is called
            Throwable stopException = null;
            try {
                ModuleActivator moduleActivator = getAttachment(MODULE_ACTIVATOR_KEY);
                if (moduleActivator != null) {
                    moduleActivator.stop(getModuleContext());
                }
            } catch (Throwable th) {
                stopException = th;
            }
View Full Code Here

Examples of org.jboss.ha.cachemanager.CacheManager.stop()

      registry.releaseCache(configName);
     
      // One release does not cause registry to stop cache
      assertEquals(CacheStatus.STARTED, cache.getCacheStatus());
     
      registry.stop();
     
      // Now it's stopped
      assertEquals(CacheStatus.DESTROYED, cache.getCacheStatus());
      caches.remove(cache);
     
View Full Code Here

Examples of org.jboss.ha.core.framework.server.CoreGroupCommunicationService.stop()

              
               this.lockManagers.put(containerName, lockManager);
            }
            catch (Exception e)
            {
               gcs.stop();
               throw new IllegalStateException("Unexpected exception while starting lock manager for " + containerName);
            }
         }
        
         return lockManager;
View Full Code Here

Examples of org.jboss.ha.framework.server.ClusterPartition.stop()

                 1, drm1.lookupReplicants(SERVICEB).size());
         assertEquals("Partition2 should contain one DRM replicant for serviceB after merge; ",
                 1, drm2.lookupReplicants(SERVICEB).size());
        
         partition1.stop();
         partition2.stop();
      }
      finally
      {
         log.info("DRMTestCase.testIsMasterReplica() - cleaning up resources");
         if (partition1Started)
View Full Code Here

Examples of org.jboss.jbossts.qa.Utils.Setup.stop()

    try
    {
      if (orbClass != null)
      {
        orbClass.stop();
      }
    }
    catch (Exception exception)
    {
      System.err.print("Test01.main: ");
View Full Code Here

Examples of org.jboss.jbossts.txbridge.inbound.InboundBridge.stop()

   
    private void bridgeOutgoingTransaction() {
        try {
            // disassociate subordinate JTA transaction
            InboundBridge txInboundBridge = InboundBridgeManager.getInboundBridge();
            txInboundBridge.stop();

            // disassociate WS-AT transaction
            final com.arjuna.mw.wst11.TransactionManager wsatManager = TransactionManagerFactory.transactionManager();
            if (wsatManager != null) {
                wsatManager.suspend();
View Full Code Here

Examples of org.jboss.jbossts.txbridge.outbound.OutboundBridge.stop()

    private void bridgeIncomingTransaction() throws HandlerException {
        // disassociate subordinate WS-AT transaction
        OutboundBridge txOutboundBridge = OutboundBridgeManager.getOutboundBridge();
        if (txOutboundBridge != null) {
            try {
                txOutboundBridge.stop();
            } catch (Exception e) {
                throw createHandlerException(e);
            }
        }
    }
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.