Examples of stop()


Examples of com.sshtools.j2ssh.forwarding.ForwardingConfiguration.stop()

        throws ForwardingConfigurationException {
        ForwardingConfiguration config = getRemoteForwardingByAddress(addressToBind,
                portToBind);

        // Stop the forwarding
        config.stop();

        // Remove from the remote forwardings list
        remoteForwardings.remove(config);
    }
View Full Code Here

Examples of com.sun.appserv.management.j2ee.J2EECluster.stop()

                // see if the cluster is running...
                boolean running = true;
                J2EECluster j2eeCluster = AMXUtil.getJ2EEDomain().getJ2EEClusterMap().get(name);
                // try to stop the cluster.
                if(j2eeCluster.getstate() == StateManageable.STATE_RUNNING){
                    j2eeCluster.stop();
                }
                // get the list of instances of the cluster
                Map<String,ClusteredServerConfig> serverMap = AMXUtil.getDomainConfig().getClusterConfigMap().get(name).getClusteredServerConfigMap();
                if(serverMap != null){
                    // delete the instances one by one.  Need to use JMX. AMX API not working correctly.
View Full Code Here

Examples of com.sun.appserv.management.j2ee.J2EEServer.stop()

                // see if the instance is running...
                boolean running = true;
                J2EEServer j2eeServer = AMXUtil.getJ2EEDomain().getJ2EEServerMap().get(name);
                // try to stop the cluster.
                if(j2eeServer.getstate() == StateManageable.STATE_RUNNING){
                    j2eeServer.stop();
                }
                // remove instance
                AMXUtil.getDomainConfig().removeClusteredServerConfig(name);
            }
           
View Full Code Here

Examples of com.sun.appserv.web.cache.CacheManager.stop()

        ServletContext ctxt = webModule.getServletContext();
        CacheManager cm = (CacheManager)ctxt.getAttribute(
                                        CacheManager.CACHE_MANAGER_ATTR_NAME);
        if (cm != null) {
            try {
                cm.stop();
                if (_debugLog) {
                    _logger.fine("Cache Manager stopped");
                }
                ctxt.removeAttribute(CacheManager.CACHE_MANAGER_ATTR_NAME);
            } catch (LifecycleException ee) {
View Full Code Here

Examples of com.sun.enterprise.admin.wsmgmt.msg.MessageTraceMgr.stop()

        serverStatus |= STATUS_SHUTDOWN;
       
        // shuts down message trace
        MessageTraceMgr msgTraceMgr = MessageTraceMgr.getInstance();
        if ( msgTraceMgr != null) {
            msgTraceMgr.stop();
        }
    }

    /**
     * Server is terminating the subsystems and the runtime environment.
View Full Code Here

Examples of com.sun.enterprise.ee.web.sessmgmt.JxtaReplicationReceiver.stop()

        }
        JxtaReplicationReceiver jxtaReplicationReceiver
            = JxtaReplicationReceiver.createInstance();
        //System.out.println("ReplicationLifecycleImpl:about to call JxtaReplicationReceiver.stop()");
        try {
            jxtaReplicationReceiver.stop();
        } catch (LifecycleException ex) {}
    }
   
    /**
     * Server is shutting down applications
View Full Code Here

Examples of com.sun.enterprise.jbi.serviceengine.install.Installer.stop()

                }else {
                    logger.log(Level.FINEST, "Java EE Service Engine is disabled");
                    if(installedFlag) {
                        // If service engine is disabled, stop the service engine
                        try {
                            installer.stop();
                        } catch(Exception e) {
                        }
                    }
                }
            } catch (Throwable e) {
View Full Code Here

Examples of com.sun.enterprise.module.Module.stop()

        final ModulesRegistry registry = InjectedValues.getInstance().getModulesRegistry();
        final Collection<Module> modules = registry.getModules("com.sun.enterprise.osgi-adapter");
        if (modules.size() == 1)
        {
            final Module mgmtAgentModule = modules.iterator().next();
            mgmtAgentModule.stop();
        }
        else
        {
            ImplUtil.getLogger().warning("Cannot find primordial com.sun.enterprise.osgi-adapter");
        }
View Full Code Here

Examples of com.sun.enterprise.module.bootstrap.ModuleStartup.stop()

            ModuleStartup startupService =
                    habitatInfo.serviceLocator.getService(ModuleStartup.class, DEFAULT_NAME);
            if (startupService != null) {
                try {
                    logger.info("Stopping " + startupService);
                    startupService.stop();
                } catch (Exception e) {
                    logger.log(Level.WARNING, "HK2Main:stop():Exception while stopping ModuleStartup service.", e);
                }
            }
            destroyHabitat(habitatInfo.serviceLocator);
View Full Code Here

Examples of com.sun.faban.harness.agent.OracleAgent.stop()

        for(int i = 0; i < machines.length; i++) {
            OracleAgent oracleAgent = (OracleAgent) allAgents.get(machines[i]);
            if (oracleAgent != null) {
                try {
                    oracleAgent.stop(machines[i]);
                    oracleAgent.start(machines[i]);
                } catch (Exception e) {
                    logger.severe("Failed to start on " + machines[i] + " " + e.toString());
                    logger.log(Level.FINE, "Exception", e);
                    ret = ret && false;
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.