com.googlecode.icegem.utils
Class ServerTemplate

java.lang.Object
  extended by com.googlecode.icegem.utils.ServerTemplate

public class ServerTemplate
extends java.lang.Object

Server template for using in tests. Use JavaProcessLauncher.runWithConfirmation(Class, String[], String[]) to launch this cache server from tests. All peer/server configurations should be passed via properties file.

Author:
Andrey Stepanov aka standy
See Also:
JavaProcessLauncher

Constructor Summary
ServerTemplate()
           
 
Method Summary
static void main(java.lang.String[] args)
          Server entry point.
static void startCacheServer()
          Starts cache server.
static void stopCacheServer()
          Stops cache server.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServerTemplate

public ServerTemplate()
Method Detail

main

public static void main(java.lang.String[] args)
Server entry point.

Parameters:
args - of type String[]

startCacheServer

public static void startCacheServer()
Starts cache server.


stopCacheServer

public static void stopCacheServer()
Stops cache server.



Copyright © 2011. All Rights Reserved.