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

org.jboss.as.ee.component.EEModuleConfiguration 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 java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.List;

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

/**
 *
 * TODO: do we still need this?
 * @author David M. Lloyd
 */
public final class EEModuleConfiguration {
    private final String applicationName;
    private final String moduleName;
    private final List componentConfigurations;


    public EEModuleConfiguration(EEModuleDescription description) throws DeploymentUnitProcessingException {
        applicationName = description.getApplicationName();
        moduleName = description.getModuleName();

        this.componentConfigurations = new ArrayList();
    }

    public String getApplicationName() {
        return applicationName;
    }

    public String getModuleName() {
        return moduleName;
    }

    public Collection getComponentConfigurations() {
        return Collections.unmodifiableList(componentConfigurations);
    }

    public void addComponentConfiguration(ComponentConfiguration configuration) {
        componentConfigurations.add(configuration);
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy