Search in sources :

Example 1 with Deployment

use of org.jboss.arquillian.container.spi.client.deployment.Deployment in project keycloak by keycloak.

the class KeycloakContainerDeployController method forEachDeployment.

private void forEachDeployment(List<Deployment> deployments, ContainerDeployController.Operation<Container, Deployment> operation) throws Exception {
    injector.get().inject(operation);
    ContainerRegistry containerRegistry = this.containerRegistry.get();
    if (containerRegistry == null) {
        return;
    }
    for (Deployment deployment : deployments) {
        Container container = containerRegistry.getContainer(deployment.getDescription().getTarget());
        operation.perform(container, deployment);
    }
}
Also used : ContainerRegistry(org.jboss.arquillian.container.spi.ContainerRegistry) Container(org.jboss.arquillian.container.spi.Container) DeployDeployment(org.jboss.arquillian.container.spi.event.DeployDeployment) Deployment(org.jboss.arquillian.container.spi.client.deployment.Deployment)

Aggregations

Container (org.jboss.arquillian.container.spi.Container)1 ContainerRegistry (org.jboss.arquillian.container.spi.ContainerRegistry)1 Deployment (org.jboss.arquillian.container.spi.client.deployment.Deployment)1 DeployDeployment (org.jboss.arquillian.container.spi.event.DeployDeployment)1