|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Containers
Incontainer mode deployment related operations The TCK porting package must provide an implementation of this interface which is suitable for the target implementation and application server
| Field Summary | |
|---|---|
static java.lang.String |
PROPERTY_NAME
|
| Method Summary | |
|---|---|
void |
cleanup()
Called after the TCK finishes executing the testsuite. |
void |
deploy(java.io.InputStream archive,
java.lang.String name)
The war/ear to deploy to the container, it should be read using a JarInputStream. |
void |
setup()
Called before the TCK starts executing the testsuite, but after the suite has been configured. |
void |
undeploy(java.lang.String name)
Undeploy the war/ear from the container. |
| Field Detail |
|---|
static final java.lang.String PROPERTY_NAME
| Method Detail |
|---|
void deploy(java.io.InputStream archive,
java.lang.String name)
throws DeploymentException,
java.io.IOException
undeploy(String) will be
called.
archive - the archivename - the name the TCK uses to refer to this archive, unique within
this tck run
DeploymentException - if any exceptions are encountered during deployment, they
should be rethrown wrapped in a DeploymentException.
Note that the TCK checks deployment exceptions.
java.io.IOException - if any communication problems with the server occur during
deployment. These will cause the test suite to fail.undeploy(String)
void undeploy(java.lang.String name)
throws java.io.IOException
name - the name the TCK uses to refer to this archive, unique within
this tck run
java.io.IOException - if any communication problems with the server occur during
deployment. These will cause the test suite to fail.deploy(InputStream, String)
void setup()
throws java.io.IOException
java.io.IOException - if any communication problems with the server occur during
setup. These will cause the test suite to fail.
void cleanup()
throws java.io.IOException
java.io.IOException - if any communication problems with the server occur during
cleanup. These will cause the test suite to fail.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||