Пример #1
0
        public Object fetch(AsyncFetch model, Object fetchConstraint, Object fetchContext) {
          ADFContext adfContext = (ADFContext) fetchContext;
          adfContext.setAsCurrent();

          try {
            // Nothing to do in this fake impl
          } finally {
            adfContext.removeAsCurrent();
          }

          return null;
        }
Пример #2
0
 public Object getFetchContext(AsyncFetch model, Object fetchConstraint) {
   return ADFContext.getCurrent();
 }