Package com.alibaba.citrus.turbine.dataresolver

Examples of com.alibaba.citrus.turbine.dataresolver.ContextValue


        int resolvableTypeIndex = getResolvableTypeIndex(context);

        if (resolvableTypeIndex < 0) {
            // ContextValue
            ContextValue contextValueAnnotation = context.getAnnotation(ContextValue.class);

            if (contextValueAnnotation != null) {
                String name = assertNotNull(trimToNull(contextValueAnnotation.value()), "missing @%s's name: %s",
                                            ContextValue.class.getSimpleName(), context);

                return new ContextValueResolver(context, name);
            }
View Full Code Here


        int resolvableTypeIndex = getResolvableTypeIndex(context);

        if (resolvableTypeIndex < 0) {
            // ContextValue
            ContextValue contextValueAnnotation = context.getAnnotation(ContextValue.class);

            if (contextValueAnnotation != null) {
                String name = assertNotNull(trimToNull(contextValueAnnotation.value()), "missing @%s's name: %s",
                        ContextValue.class.getSimpleName(), context);

                return new ContextValueResolver(context, name);
            }
View Full Code Here

TOP

Related Classes of com.alibaba.citrus.turbine.dataresolver.ContextValue

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.