Package com.alibaba.citrus.turbine.dataresolver

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


        // 当所需要的对象未定义时,resolver factory仍可以创建,但在取得resolver时报错。
        // 这样使得同一套配置可用于所有环境,仅当你需要注入特定对象时,才报错。
        assertNotNull(parserRequestContext, "no ParserRequestContext defined");

        // 单个参数
        Param paramAnnotation = context.getAnnotation(Param.class);

        if (paramAnnotation != null) {
            String[] defaultValues = getDefaultValues(paramAnnotation, context);
            String paramName = DataResolverUtil.getAnnotationNameOrValue(Param.class, paramAnnotation, context,
                                                                         !isEmptyArray(defaultValues));
View Full Code Here


        // ������Ҫ�Ķ���δ����ʱ��resolver factory�Կ��Դ���������ȡ��resolverʱ����
        // ����ʹ��ͬһ�����ÿ��������л�������������Ҫע���ض�����ʱ���ű���
        assertNotNull(parserRequestContext, "no ParserRequestContext defined");

        // ��������
        Param paramAnnotation = context.getAnnotation(Param.class);

        if (paramAnnotation != null) {
            String[] defaultValues = getDefaultValues(paramAnnotation, context);
            String paramName = DataResolverUtil.getAnnotationNameOrValue(Param.class, paramAnnotation, context,
                    !isEmptyArray(defaultValues));
View Full Code Here

TOP

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

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.