Package org.jitterbit.application.cache

Examples of org.jitterbit.application.cache.DataCacheService


        t.setPriority(3);
        t.start();
    }
   
    private void updateImpl(IntegrationProject project) {
        DataCacheService svc = Application.getCacheService();
        updateFileShareLocationCache(project, svc);
        updateDatabaseLocationCache(project, svc);
        updateFtpLocationCache(project, svc);
        updateLdapLocationCache(project, svc);
        updateHttpLocationCache(project, svc);
View Full Code Here


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

     *            the <code>LdapLocation</code> the cache of which to access
     * @return the <code>LdapStructureCache</code> that stores cached structure data from the
     *         given <code>LdapLocation</code>
     */
    public static LdapStructureCache getCache(LdapLocation ldapLoc) {
        DataCacheService svc = Application.getCacheService();
        LdapStructureServerCache caches = svc.getCache(LdapStructureServerCache.class);
        return caches.getCache(ldapLoc.getServer());
    }
View Full Code Here

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

        setCache(p);
        return p;
    }

    private static void setCache(HttpLocationPanel p) {
        DataCacheService svc = Application.getCacheService();
        p.setCache(svc.getCache(HttpLocationCache.class));
    }
View Full Code Here

        }
        fireServerChanged(s);
    }

    private PipelinePluginManifestServerCache getServerCache() {
        DataCacheService svc = Application.getCacheService();
        return svc.getCache(PipelinePluginManifestServerCache.class);
    }
View Full Code Here

        }
    }

    private void storeFileInCache(String pathOnClient, ServerFileUploadResult result) {
        try {
            DataCacheService svc = Application.getCacheService();
            WsdlFileServerCache cache = svc.getCache(WsdlFileServerCache.class);
            File file = new File(pathOnClient);
            byte[] contents = FileUtils.readFileToByteArray(file);
            cache.cacheWsdlFile(result.getServer(), file.getName(), contents);
        } catch (IOException ex) {
            handleNonFatalError(ex);
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.