Package org.jitterbit.application.cache

Examples of org.jitterbit.application.cache.DataCacheService


            return null;
        }
    }
   
    private WsdlFileCache getFileCache() {
        DataCacheService svc = Application.getCacheService();
        WsdlFileServerCache caches = svc.getCache(WsdlFileServerCache.class);
        if (caches != null) {
            return caches.getCache(serverInfo.getGuid());
        }
        return null;
    }
View Full Code Here


            // Also pass in the message
            signalJobFailed(th);
        }
       
        private void cacheDownloadedWsdlFiles(DownloadedFiles wsdls) {
            DataCacheService svc = Application.getCacheService();
            WsdlFileServerCache cache = svc.getCache(WsdlFileServerCache.class);
            for (ServerFile wsdl : wsdls.getFiles()) {
                try {
                    cacheWsdlFile(wsdls.getServer(), wsdl, cache);
                } catch (DataCacheException e) {
                    // There is no need to communicate this error to the user,
View Full Code Here

        }
        this.toModify = toModify;
    }

    private static LdapStructureServerCache getLdapCache() {
        DataCacheService svc = Application.getCacheService();
        return svc.getCache(LdapStructureServerCache.class);
    }
View Full Code Here

            handler.transferStateTo(callback);
            return structs;
        }

        private static LdapStructureServerCache getLdapCache() {
            DataCacheService svc = Application.getCacheService();
            return svc.getCache(LdapStructureServerCache.class);
        }
View Full Code Here

        }
        return new PipelinePluginManifest[0];
    }

    private PipelinePluginManifestCache getCache(ServerGuid serverId) {
        DataCacheService svc = Application.getCacheService();
        PipelinePluginManifestServerCache caches = svc.getCache(PipelinePluginManifestServerCache.class);
        return (caches != null) ? caches.getCache(serverId) : null;
    }
View Full Code Here

        Set<ObjectClassDefinition> s2 = Sets.newHashSet(cachedClasses);
        System.out.println("Everything is fine and dandy: " + s1.equals(s2));
    }

    private LdapStructureCache getCache() {
        DataCacheService svc = Application.getCacheService();
        LdapStructureServerCache caches = svc.getCache(LdapStructureServerCache.class);
        return caches.getCache(location.getServer());
    }
View Full Code Here

        setCache(p);
        return p;
    }
   
    private static void setCache(TemporaryStorageLocationPanel p) {
        DataCacheService svc = Application.getCacheService();
        p.setDataCache(svc.getCache(TemporaryStorageLocationCache.class));
    }
View Full Code Here

                }
            });
        }

        private void openSelector() {
            DataCacheService svc = Application.getCacheService();
            DatabaseDriverServerCache driverCache = svc.getCache(DatabaseDriverServerCache.class);
            DriverSelector selector = null;
            if (USE_OVERLAY) {
                selector = createOverlaySelector(driverCache);
            }
            if (selector == null) {
View Full Code Here

        setCache(p);
        return p;
    }
   
    private static void setCache(FtpLocationPanel p) {
        DataCacheService svc = Application.getCacheService();
        p.setDataCache(svc.getCache(FtpLocationCache.class));
    }
View Full Code Here

        setCache(p);
        return p;
    }
   
    private static void setCache(DatabaseLocationPanel p) {
        DataCacheService svc = Application.getCacheService();
        p.setDataCache(svc.getCache(DatabaseLocationCache.class));
    }
View Full Code Here

TOP

Related Classes of org.jitterbit.application.cache.DataCacheService

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.