All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.jboss.as.ee.component.ViewConfigurator Maven / Gradle / Ivy

There is a newer version: 35.0.0.Beta1
Show newest version
/*
 * Copyright The WildFly Authors
 * SPDX-License-Identifier: Apache-2.0
 */

package org.jboss.as.ee.component;

import org.jboss.as.server.deployment.DeploymentPhaseContext;
import org.jboss.as.server.deployment.DeploymentUnitProcessingException;

/**
 * A configurator for views.  Each configurator is run in the order it appears on the component description.
 *
 * @author David M. Lloyd
 */
public interface ViewConfigurator {

    /**
     * Apply this configurator to the given configuration.
     *
     * @param context the deployment phase context
     * @param componentConfiguration the completed component configuration
     * @param description the completed view description
     * @param configuration the view configuration to build on to
     * @throws DeploymentUnitProcessingException if configuration fails
     */
    void configure(DeploymentPhaseContext context, ComponentConfiguration componentConfiguration, ViewDescription description, ViewConfiguration configuration) throws DeploymentUnitProcessingException;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy