|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.portal.test.framework.TestRuntimeContext
The test context offered to the test.
Field Summary | |
(package private) BeanXMLDeployer |
beanDeployer
. |
private java.util.Map |
beans
The beans that will be defined by a factory in the container. |
private java.net.URL |
beansURL
. |
private BasicBootstrap |
bootstrap
. |
private KernelDeployment |
deployment
|
private org.apache.log4j.Logger |
log
. |
private boolean |
started
|
Constructor Summary | |
TestRuntimeContext(java.lang.String beansDD)
Constructs a new TestRuntimeContext. |
Method Summary | |
void |
addBean(java.lang.String id,
java.lang.Object bean)
|
void |
start()
|
void |
stop()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private org.apache.log4j.Logger log
private BasicBootstrap bootstrap
BeanXMLDeployer beanDeployer
private java.net.URL beansURL
private java.util.Map beans
private boolean started
private KernelDeployment deployment
Constructor Detail |
public TestRuntimeContext(java.lang.String beansDD) throws java.lang.IllegalArgumentException
beansDD
- the location of the microcontainer beans descriptor for the beans to be wired for this test
java.lang.IllegalArgumentException
- if beansDD is null or not validMethod Detail |
public void addBean(java.lang.String id, java.lang.Object bean) throws java.lang.IllegalStateException, java.lang.IllegalArgumentException
java.lang.IllegalStateException
java.lang.IllegalArgumentException
public void start() throws java.lang.Exception
java.lang.Exception
public void stop()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |