Search in sources :

Example 1 with DeployerEjb

use of org.apache.openejb.assembler.DeployerEjb in project tomee by apache.

the class TomEEUndeployTest method ejbDeployer.

@Test
public void ejbDeployer() throws Exception {
    container.start();
    assertEquals(0, webapps().length);
    final DeployerEjb deployerEjb = new DeployerEjb();
    deployerEjb.deploy(APP.getAbsolutePath());
    assertEquals(1, webapps().length);
    deployerEjb.undeploy(APP.getAbsolutePath());
    assertEquals(0, webapps().length);
}
Also used : DeployerEjb(org.apache.openejb.assembler.DeployerEjb) Test(org.junit.Test)

Aggregations

DeployerEjb (org.apache.openejb.assembler.DeployerEjb)1 Test (org.junit.Test)1