T
- the type of application contextpublic interface ApplicationContextProducer<T extends TestScopeApplicationContext>
Concrete class that implements this interface will be responsible for creating instance of the application context.
Modifier and Type | Method and Description |
---|---|
T |
createApplicationContext(org.jboss.arquillian.test.spi.TestClass testClass)
Creates instance of
TestScopeApplicationContext for the given test class. |
boolean |
supports(org.jboss.arquillian.test.spi.TestClass testClass)
Returns whether the given producer supports the given test class and can be used for creating the application
context.
|
boolean supports(org.jboss.arquillian.test.spi.TestClass testClass)
Returns whether the given producer supports the given test class and can be used for creating the application context.
testClass
- the test classT createApplicationContext(org.jboss.arquillian.test.spi.TestClass testClass)
Creates instance of TestScopeApplicationContext
for the given test class.
testClass
- the test classTestScopeApplicationContext
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.