| java.lang.Object com.sun.jbi.framework.EnvironmentSetup
EnvironmentSetup | public class EnvironmentSetup (Code) | | Utility class to provide the setup for unit tests that require a running
environment.
author: Sun Microsystems, Inc. |
Method Summary | |
public EnvironmentContext | getEnvironmentContext() Get the EnvironmentContext. | public void | shutdown(boolean stopComponentRegistry, boolean stopComponentFramework) Shutdown the test environment. | public void | startup(boolean startComponentRegistry, boolean startComponentFramework) Startup the test environment. |
EnvironmentSetup | public EnvironmentSetup() throws Exception(Code) | | Constructor.
throws: Exception - when set up fails for any reason. |
getEnvironmentContext | public EnvironmentContext getEnvironmentContext()(Code) | | Get the EnvironmentContext.
The EnvironmentContext created by the constructor. |
shutdown | public void shutdown(boolean stopComponentRegistry, boolean stopComponentFramework) throws Exception(Code) | | Shutdown the test environment.
Parameters: stopComponentRegistry - - set to true to stop the ComponentRegistry. Parameters: stopComponentFramework - - set to true to stop the ComponentFramework. throws: Exception - when shutdown fails for any reason. |
startup | public void startup(boolean startComponentRegistry, boolean startComponentFramework) throws Exception(Code) | | Startup the test environment.
Parameters: startComponentRegistry - - set to true to start the ComponentRegistry. Parameters: startComponentFramework - - set to true to start the ComponentFramework. throws: Exception - when startup fails for any reason. |
|
|