Examples of shutdown()


Examples of com.subhajit.embeddable.tomcat.EmbeddableTomcat.shutdown()

        EmbeddableTomcat tomcat = new EmbeddableTomcat(installationDir,
            20000);
        tomcat.setup();
        tomcat.configure();
        tomcat.startup(10000);
        tomcat.shutdown(10000);
        tomcat.uninstall();

        EmbeddedDerby2 derby = new EmbeddedDerby2(installationDir,
            "test", 20000, "test", "test");
        derby.setup();
View Full Code Here

Examples of com.sun.corba.se.spi.activation.Server.shutdown()

                throw wrapper.serverNotRunning() ;
            }
        }
        try {
            if (localServerObj != null) {
                localServerObj.shutdown(); // shutdown the server
                localServerObj.uninstall() ; // call the uninstall
            }

            if (localProcess != null) {
                localProcess.destroy();
View Full Code Here

Examples of com.sun.corba.se.spi.oa.ObjectAdapterFactory.shutdown()

     */
    protected void shutdownServants(boolean wait_for_completion) {
        Iterator iter = requestDispatcherRegistry.getObjectAdapterFactories().iterator() ;
        while (iter.hasNext()) {
            ObjectAdapterFactory oaf = (ObjectAdapterFactory)iter.next() ;
            oaf.shutdown( wait_for_completion ) ;
        }
    }

    // REVISIT: was protected - made public for framework
    // Note that the caller must hold the ORBImpl lock.
View Full Code Here

Examples of com.sun.enterprise.ee.cms.core.GroupManagementService.shutdown()

    {
        final GroupManagementService gms;
        try {
            gms = GMSFactory.getGMSModule(clusterName);
            if(gms != null){
                gms.shutdown(shutdownType);
                GMSFactory.setGMSEnabledState( clusterName,  Boolean.FALSE);
                GMSFactory.removeGMSModule( clusterName );
            }
            //gmsInstances.remove( clusterName );
        }
View Full Code Here

Examples of com.sun.enterprise.module.ModulesRegistry.shutdown()

            destroyHabitat(habitatInfo.serviceLocator);
        }

        ModulesRegistry mr = (ModulesRegistry) ctx.getService(mrReg.getReference());
        if (mr != null) {
            mr.shutdown();
            mr = null;
        }
//        ctx.removeBundleListener(this); // used for debugging only. see start method

    }
View Full Code Here

Examples of com.sun.faces.application.resource.ResourceCache.shutdown()

        }
        // HACK - we'll improve this when the event system is in place
        if (applicationAssociate != null) {
            ResourceCache cache = applicationAssociate.getResourceCache();
            if (cache != null) {
                cache.shutdown();
            }
        }
        this.applicationAssociate = null;

    }
View Full Code Here

Examples of com.sun.messaging.jmq.jmsclient.runtime.BrokerInstance.shutdown()

    _loggerL.entering(_className, "stop()");
    try {
      // brokerInstance field will get set to null when we call stop() so take a copy
      BrokerInstance brokerInstance = directBroker;
      brokerInstance.stop();
      brokerInstance.shutdown();
      directBroker = null;
    } catch (Exception bse) {
      _loggerL.severe(_lgrMID_EXC + "stop:Exception on in-VM broker shutdown:msg=" + bse.getMessage());
      bse.printStackTrace();
    }
View Full Code Here

Examples of com.sun.sgs.impl.service.channel.ChannelServiceImpl.shutdown()

    new ChannelServiceImpl(serviceProps,
               serverNode.getSystemRegistry(),
               serverNode.getProxy());
  } finally {
      if (newChannelService != null) {
    newChannelService.shutdown();
      }
  }
    }

    @Test
View Full Code Here

Examples of com.sun.sgs.impl.service.data.DataServiceImpl.shutdown()

        }
  props.remove(DataStoreImplClassName + ".directory");
  props.setProperty(StandardProperties.APP_ROOT, rootDir);
  DataServiceImpl testSvc =
      createDataServiceImpl(props, componentRegistry, txnProxy);
        testSvc.shutdown();
    }

    @Test
    public void testConstructorNoDirectoryNorRoot() throws Exception {
        Properties props =
View Full Code Here

Examples of com.sun.sgs.impl.service.data.store.net.DataStoreServerImpl.shutdown()

        String.valueOf(server.getPort()));
                props.setProperty(StandardProperties.NODE_TYPE,
                          NodeType.appNode.toString());
  txn = createTransaction()
  store = createDataStore(props);
  server.shutdown();
  try {
      store.createObject(txn);
      fail("Expected NetworkException");
  } catch (NetworkException e) {
      System.err.println(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.