Package org.apache.geronimo.jee.naming

Examples of org.apache.geronimo.jee.naming.Pattern


        }
        else if (element.getText().equals(elementTypes[PATTERN])) {
            if (isEmpty(textList.get(0).getText())) {
                return false;
            }
            Pattern pattern = (Pattern)eObject;
            if (pattern == null) {
                pattern = (Pattern)getEFactory().create(Pattern.class);
                gbeanRef = (GbeanRef)section.getSelectedObject();
                gbeanRef.getPattern().add(pattern);
            }
            pattern.setName(textList.get(0).getText());
            pattern.setGroupId(textList.get(1).getText());
            pattern.setArtifactId(textList.get(2).getText());
            pattern.setVersion(textList.get(3).getText());
            pattern.setModule(textList.get(4).getText());
        }
        return true;
    }
View Full Code Here


                contextRef.setPersistenceUnitName(textList.get(2).getText());
                contextRef.setPattern(null);
            }
            else {
                contextRef.setPersistenceUnitName(null);
                Pattern pattern = contextRef.getPattern();
                if (pattern == null) {
                    pattern = objectFactory.createPattern();
                }
                pattern.setName(textList.get(3).getText());
                pattern.setGroupId(textList.get(4).getText());
                pattern.setArtifactId(textList.get(5).getText());
                pattern.setVersion(textList.get(6).getText());
                pattern.setModule(textList.get(7).getText());
                contextRef.setPattern(pattern);
            }
        }
        else if (element.getText().equals(elementTypes[PROPERTY])) {
            if (isEmpty(textList.get(0).getText())) {
View Full Code Here

TOP

Related Classes of org.apache.geronimo.jee.naming.Pattern

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.