Package com.streambase.sb.unittest
Class ServerManagerFactory
- java.lang.Object
 - 
- com.streambase.sb.unittest.ServerManagerFactory
 
 
- 
public class ServerManagerFactory extends Object
Contains static methods for creating concreteSBServerManager- Since:
 - 6.6
 
 
- 
- 
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SBServerManagergetEmbeddedServer()static SBServerManagergetEmbeddedServer(SBTestEnvironment testEnv)static SBServerManagergetEmbeddedServer(String confFilePath) 
 - 
 
- 
- 
Method Detail
- 
getEmbeddedServer
public static SBServerManager getEmbeddedServer() throws StreamBaseException
- Returns:
 - a SBServerManager that represents a StreamBase server embedded in this JVM
 - Throws:
 StreamBaseException- on failure to create the server
 
- 
getEmbeddedServer
public static SBServerManager getEmbeddedServer(SBTestEnvironment testEnv) throws StreamBaseException
- Parameters:
 testEnv- the environment with which to set up this server- Returns:
 - a SBServerManager that represents a StreamBase server embedded in this JVM
 - Throws:
 StreamBaseException- on failure to create the server- See Also:
 SBTestEnvironment
 
- 
getEmbeddedServer
public static SBServerManager getEmbeddedServer(String confFilePath) throws StreamBaseException
- Parameters:
 confFilePath- the path to the configuration file for this server to use- Returns:
 - a SBServerManager that represents a StreamBase server embedded in this JVM
 - Throws:
 StreamBaseException- on failure to create the server- Since:
 - 6.6.13
 
 
 - 
 
 -