|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Configuration
The configuration of the TCK. The TCK may be configured using system properties or placed in a properties file called META-INF/cdi-tck.properties. Porting package property names are the FQCN of the SPI class. Other property names (one for each non-porting package SPI configuration option) are specified here. The defaults are also listed here. The TCK may also be configured programatically through this interface
| Field Summary | |
|---|---|
static String |
LIBRARY_DIRECTORY_PROPERTY_NAME
|
static String |
TEST_DATASOURCE_PROPERTY_NAME
|
| Method Summary | ||
|---|---|---|
Beans |
getBeans()
The implementation of Beans in use. |
|
|
getContexts()
The implementation of Contexts in use. |
|
EL |
getEl()
The implementation of EL in use. |
|
String |
getLibraryDirectory()
The TCK allows additional libraries to be put in the deployed test artifacts (for example the porting package for the implementation). |
|
Managers |
getManagers()
The implementation of Managers in use. |
|
String |
getTestDataSource()
Few TCK tests need to work with Java EE services related to persistence (JPA, JTA) - test datasource must be provided. |
|
void |
setBeans(Beans beans)
|
|
|
setContexts(Contexts<T> contexts)
|
|
void |
setEl(EL el)
|
|
void |
setLibraryDirectory(String libraryDir)
|
|
void |
setManagers(Managers managers)
|
|
void |
setTestDataSource(String testDatasource)
|
|
| Field Detail |
|---|
static final String LIBRARY_DIRECTORY_PROPERTY_NAME
static final String TEST_DATASOURCE_PROPERTY_NAME
| Method Detail |
|---|
Beans getBeans()
Beans in use.
<T extends javax.enterprise.context.spi.Context> Contexts<T> getContexts()
Contexts in use.
Managers getManagers()
Managers in use.
void setBeans(Beans beans)
<T extends javax.enterprise.context.spi.Context> void setContexts(Contexts<T> contexts)
void setManagers(Managers managers)
void setEl(EL el)
EL getEl()
EL in use.
String getLibraryDirectory()
void setLibraryDirectory(String libraryDir)
String getTestDataSource()
persistence.
void setTestDataSource(String testDatasource)
testDatasource -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||