Examples of asNestedArray()


Examples of org.jboss.jandex.AnnotationValue.asNestedArray()

        value = annotation.value("type");
        String type = value != null ? value.asEnum(): null;
        this.type = (value == null || PersistenceContextType.TRANSACTION.name().equals(value.asString()))
            ? PersistenceContextType.TRANSACTION: PersistenceContextType.EXTENDED;
        value = annotation.value("properties");
        AnnotationInstance[] props = value != null ? value.asNestedArray() : null;

        if (props != null) {
            this.properties = new HashMap();
            for(int source=0; source < props.length; source ++) {
                this.properties.put(props[source].value("name"), props[source].value("value"));
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.