Package com.alibaba.citrus.service.dataresolver

Examples of com.alibaba.citrus.service.dataresolver.DataResolver


    }

    public DataResolver getDataResolver(Type type, Annotation[] annotations, Object... extraInfo)
            throws DataResolverNotFoundException {
        DataResolverContext context = new DataResolverContext(type, annotations, extraInfo);
        DataResolver resolver = null;

        for (DataResolverFactory factory : factories) {
            resolver = factory.getDataResolver(context);

            if (resolver != null) {
View Full Code Here


public class SkipModuleResolverFactory implements DataResolverFactory {
    public DataResolver getDataResolver(final DataResolverContext context) {
        final Skip skip = context.getAnnotation(Skip.class);

        if (skip != null) {
            return new DataResolver() {
                public Object resolve() {
                    throw new SkipModuleExecutionException("skipped " + context.getExtraObject(ModuleInfo.class),
                                                           trimToNull(skip.value()));
                }
            };
View Full Code Here

    }

    public DataResolver getDataResolver(Type type, Annotation[] annotations, Object... extraInfo)
            throws DataResolverNotFoundException {
        DataResolverContext context = new DataResolverContext(type, annotations, extraInfo);
        DataResolver resolver = null;

        for (DataResolverFactory factory : factories) {
            resolver = factory.getDataResolver(context);

            if (resolver != null) {
View Full Code Here

    }

    public DataResolver getDataResolver(Type type, Annotation[] annotations, Object... extraInfo)
            throws DataResolverNotFoundException {
        DataResolverContext context = new DataResolverContext(type, annotations, extraInfo);
        DataResolver resolver = null;

        for (DataResolverFactory factory : factories) {
            resolver = factory.getDataResolver(context);

            if (resolver != null) {
View Full Code Here

TOP

Related Classes of com.alibaba.citrus.service.dataresolver.DataResolver

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.