Package com.streambase.sb.unittest
Class ServerManagerFactory
java.lang.Object
com.streambase.sb.unittest.ServerManagerFactory
Contains static methods for creating concrete
SBServerManager
- Since:
- 6.6
-
Method Summary
Modifier and TypeMethodDescriptionstatic SBServerManager
static SBServerManager
getEmbeddedServer
(SBTestEnvironment testEnv) static SBServerManager
getEmbeddedServer
(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
-