Examples of FallbackRepository


Examples of org.stringtree.fetcher.FallbackRepository

        Repository original = realRepository();
        Fetcher peelback = new PeelbackFetcher(original);
        Object object = peelback.getObject("http.application.context");
        if (null != object) {
            if (object instanceof Fetcher) {
                setOther(new FallbackRepository((Fetcher)object, original));
            } else if (object instanceof Map) {
                setOther(new FallbackRepository(new MapFetcher((Map<String, Object>)object), original));
            }
        }
    }
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.