Package org.glassfish.enterprise.ha.store.annotations

Examples of org.glassfish.enterprise.ha.store.annotations.MappedAttribute


                            HashKey hashKeyAnn = m.getAnnotation(HashKey.class);
                            if (hashKeyAnn != null) {
                                attributeName = hashKeyAnn.name();
                                methodInfo.type = MethodInfo.MethodType.HASHKEY;
                            } else {
                                MappedAttribute mappedAttrAnn = m.getAnnotation(MappedAttribute.class);
                                if (mappedAttrAnn != null) {
                                    attributeName = mappedAttrAnn.mappedTo();
                                    methodInfo.type = MethodInfo.MethodType.MAPPED;
                                } else {
                                    //Some getter method
                                    continue;
                                }
View Full Code Here

TOP

Related Classes of org.glassfish.enterprise.ha.store.annotations.MappedAttribute

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.