Package com.streambase.sb.unittest
Class ServerManagerFactory
java.lang.Object
com.streambase.sb.unittest.ServerManagerFactory
-
Method Summary
Modifier and TypeMethodDescriptionstatic SBServerManagerstatic SBServerManagergetEmbeddedServer(SBTestEnvironment testEnv) static SBServerManagergetEmbeddedServer(String confFilePath)
-
Method Details
-
getEmbeddedServer
- 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:
-
getEmbeddedServer
- 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
-