Package org.jboss.as.ee.deployment.spi.configurations

Examples of org.jboss.as.ee.deployment.spi.configurations.WarConfiguration


        if (obj == null)
            throw new IllegalArgumentException(MESSAGES.nullArgument("deployableObject"));

        // do some stuff to figure out what kind of config to return.
        if (obj.getType().equals(ModuleType.WAR))
            return new WarConfiguration(obj);

        throw new InvalidModuleException(MESSAGES.moduleTypeNotSupported(obj.getType()));
    }
View Full Code Here


        if (obj == null)
            throw new IllegalArgumentException("Null DeployableObject");

        // do some stuff to figure out what kind of config to return.
        if (obj.getType().equals(ModuleType.WAR))
            return new WarConfiguration(obj);

        throw new InvalidModuleException("CreateConfiguration: Module type not supported: " + obj.getType());
    }
View Full Code Here

     * @throws javax.enterprise.deploy.spi.exceptions.InvalidModuleException when the module does not exist or is not supported
     */
    public DeploymentConfiguration createConfiguration(DeployableObject obj) throws InvalidModuleException {
        // do some stuff to figure out what kind of config to return.
        if (obj.getType().equals(ModuleType.WAR))
            return new WarConfiguration(obj);

        throw new InvalidModuleException("CreateConfiguration: Module type not yet supported");
    }
View Full Code Here

     * @throws javax.enterprise.deploy.spi.exceptions.InvalidModuleException when the module does not exist or is not supported
     */
    public DeploymentConfiguration createConfiguration(DeployableObject obj) throws InvalidModuleException {
        // do some stuff to figure out what kind of config to return.
        if (obj.getType().equals(ModuleType.WAR))
            return new WarConfiguration(obj);

        throw new InvalidModuleException("CreateConfiguration: Module type not yet supported");
    }
View Full Code Here

        if (obj == null)
            throw new IllegalArgumentException(MESSAGES.nullArgument("deployableObject"));

        // do some stuff to figure out what kind of config to return.
        if (obj.getType().equals(ModuleType.WAR))
            return new WarConfiguration(obj);

        throw new InvalidModuleException(MESSAGES.moduleTypeNotSupported(obj.getType()));
    }
View Full Code Here

TOP

Related Classes of org.jboss.as.ee.deployment.spi.configurations.WarConfiguration

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.