|
||||||||||
| 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. |
boolean |
deploy(java.io.InputStream archive,
java.lang.String name)
The war/ear to deploy to the container, it should be read using a JarInputStream. |
DeploymentException |
getDeploymentException()
If the deployment failed, obtain the cause of the deployment failure. |
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 |
|---|
boolean deploy(java.io.InputStream archive,
java.lang.String name)
throws java.io.IOException
getDeploymentException().
For a successful deployment, a symmetric undeploy(String) will be
called.
archive - the archivename - 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.undeploy(String)DeploymentException getDeploymentException()
Throwable.getCause().
DeploymentException wrapping the deployment failure, or
null if the deployment suceeded
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 | |||||||||