Package org.apache.geronimo.jee.deployment

Examples of org.apache.geronimo.jee.deployment.Artifact


    private Artifact getSharedLibDependency(Dependencies dependencies) {
        Dependencies depType = getDependencies(false);
        List dependenciesList = depType.getDependency();
        Iterator i = dependenciesList.iterator();
        while(i.hasNext()) {
            Artifact artifact = (Artifact) i.next();
            if("org.apache.geronimo.configs".equals(artifact.getGroupId()) && "sharedlib".equals(artifact.getArtifactId()) && "car".equals(artifact.getType())) {
                return artifact;
            }
        }
        return null;
    }
View Full Code Here


    }

    private Artifact getModuleId(boolean create) {
        Environment type = getEnvironment(create);
        if (type != null) {
            Artifact moduleId = type.getModuleId();
            if (moduleId == null && create) {
                moduleId = getDeploymentObjectFactory().createArtifact();
                type.setModuleId(moduleId);
            }
            return moduleId;
View Full Code Here

TOP

Related Classes of org.apache.geronimo.jee.deployment.Artifact

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.