Examples of shutdown()


Examples of org.apache.jcs.auxiliary.remote.behavior.IRemoteCacheServiceAdmin.shutdown()

                log.debug( "obj = " + obj );
                IRemoteCacheServiceAdmin admin = ( IRemoteCacheServiceAdmin ) obj;

                try
                {
                    admin.shutdown( "", port );
                }
                catch ( Exception er )
                {
                    // ignore the error
                    // the connection will be closed by the server
View Full Code Here

Examples of org.apache.jcs.engine.behavior.ICacheServiceAdmin.shutdown()

                log.debug( "server found" );
            }
            ICacheServiceAdmin admin = ( ICacheServiceAdmin ) obj;
            try
            {
                admin.shutdown();
            }
            catch ( Exception ex )
            {
                log.error( ex );
            }
View Full Code Here

Examples of org.apache.jcs.engine.behavior.IShutdownObserver.shutdown()

            // to queue these up.
            Iterator it = shutdownObservers.iterator();
            while ( it.hasNext() )
            {
                IShutdownObserver observer = (IShutdownObserver) it.next();
                observer.shutdown();
            }
        }

        // do the traditional shutdown of the regions.
        String[] names = getCacheNames();
View Full Code Here

Examples of org.apache.jcs.engine.control.CompositeCacheManager.shutDown()

    public void tearDown()
    {
        try
        {
            CompositeCacheManager cacheMgr = CompositeCacheManager.getInstance();
            cacheMgr.shutDown();
        }
        catch ( Exception e )
        {
            // log.error(e);
        }
View Full Code Here

Examples of org.apache.jetspeed.engine.Engine.shutdown()

    {
        System.out.println("Shutting down CPS Bridge");
        Engine engine =Jetspeed.getEngine();
        try
        {
            engine.shutdown();
        }
        catch (JetspeedException e)
        {
            System.out.println("ERROR: Shutting down CPS Bridge " + e);
        }
View Full Code Here

Examples of org.apache.juddi.v3.client.mapping.ServiceLocator.shutdown()

      requestContext.put(BindingProvider.ENDPOINT_ADDRESS_PROPERTY, endpoint2);
      String reply = helloWorld.sayHi("Judy");
          System.out.println("*************** Service reply: " + reply);
      //need to call shutdown to take down the LiveCache Callback Endpoint.
          Thread.sleep(10l);
          serviceLocator.shutdown();
          //TODO JUDDI-610
      //FindTModel findBindingTModel = WSDL2UDDI.createFindBindingTModelForPortType(portType, namespace);
     
    }
    catch (Exception e) {
View Full Code Here

Examples of org.apache.ldap.server.DirectoryService.shutdown()

        DirectoryService service = DirectoryService.getInstance( cfg.getInstanceId() );

        // Execute configuration
        if( cfg instanceof ShutdownConfiguration )
        {
            service.shutdown();
        }
        else if( cfg instanceof SyncConfiguration )
        {
            service.sync();
        }
View Full Code Here

Examples of org.apache.log4j.Hierarchy.shutdown()

         throw new IllegalArgumentException("No classloader provided");
      }
      Hierarchy hierarchy = (Hierarchy)repositories.remove(classloader);
      if (hierarchy != null)
      {
         hierarchy.shutdown();
      }
      else
      {
         System.out.print("No hierarchy found for classloader : ");
         Writer writer = new PrintWriter(System.out);
View Full Code Here

Examples of org.apache.log4j.plugins.Receiver.shutdown()

            public void actionPerformed(ActionEvent e) {
              Receiver selectedReceiver = getCurrentlySelectedReceiver();
              if(selectedReceiver == null){
                return;
              }
              selectedReceiver.shutdown();
              selectedReceiver.activateOptions();
            }
          };

      restartReceiverButtonAction.putValue(
View Full Code Here

Examples of org.apache.log4j.spi.LoggerRepository.shutdown()

        LogManager.getRepositorySelector();
      LoggerRepository lr = repositorySelector.detachRepository(loggingContextName);
      if(lr != null) {
        Logger logger = lr.getLogger(this.getClass().getName());
        logger.debug("About to shutdown logger repository named [{}]", lr.getName());
        lr.shutdown();
      }
    }
  }

  /**
 
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.