Package org.apache.openejb.test
Class RiTestServer
java.lang.Object
org.apache.openejb.test.RiTestServer
- All Implemented Interfaces:
TestServer
The Client test suite needs the following environment variables
to be set before it can be run.
test.home
server.classpath-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringprotected Stringprotected Stringprotected DataInputStreamprotected DataInputStreamprotected Processstatic final Stringstatic final Stringprotected Stringstatic final Stringprotected booleanstatic final StringThe environment variabletest.homesould be set to the base directory where the test suite is located.protected Fileprotected String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddestroy()voidinit(Properties props) voidstart()Starts and Ri Server with the configuration file from the properties used to create this RiTestServer.voidstop()
-
Field Details
-
server
-
startServerProcess
protected boolean startServerProcess -
configFile
-
serverClassName
-
classPath
-
in
-
err
-
testHomePath
-
testHome
-
TEST_HOME
The environment variabletest.homesould be set to the base directory where the test suite is located.- See Also:
-
SERVER_CLASSPATH
- See Also:
-
SERVER_CONFIG
- See Also:
-
START_SERVER_PROCESS
- See Also:
-
BAD_ENVIRONMENT_ERROR
- See Also:
-
-
Constructor Details
-
RiTestServer
public RiTestServer()
-
-
Method Details
-
init
- Specified by:
initin interfaceTestServer
-
destroy
public void destroy() -
start
public void start()Starts and Ri Server with the configuration file from the properties used to create this RiTestServer.- Specified by:
startin interfaceTestServer
-
stop
public void stop()- Specified by:
stopin interfaceTestServer
-
getContextEnvironment
- Specified by:
getContextEnvironmentin interfaceTestServer
-