ResourceInfo serviceInfo = factory.configureService(resource, ResourceInfo.class);
assembler.createResource(serviceInfo);
}
Deployer deployer = new DeployerEjb();
this.appInfo = deployer.deploy(url, properties);
}
public void undeploy() throws NoSuchApplicationException, UndeployException {
Assembler assembler = SystemInstance.get().getComponent(Assembler.class);
assembler.destroyApplication(this.appInfo.jarPath);