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));
}
}
}