Package gri.tasks.remote.server

Examples of gri.tasks.remote.server.JobManagerServiceImpl


     */
    protected static JobManager createRemoteSystem() {
        JobManager localSystem = createLocalSystem();
       
        BasicSerializerSet serializers = new BasicSerializerSet();
        JobManagerService webService = new JobManagerServiceImpl(localSystem, serializers);
        return new ProxyJobManager(webService, serializers);
    }
View Full Code Here


    //Server:
    File baseDir = new File("C:\\GRIDP_EXEC");
    SimpleJobFolderFactory jobFolderFactory = new SimpleJobFolderFactory(baseDir);

    JobManagerServiceImpl webService = new JobManagerServiceImpl(localSystem, new BasicSerializerSet(typeMapping), jobFolderFactory);
    webService.setDeleteDirectoriesWhenFreed(true);

    //Client:
    ProxyJobManager proxy = new ProxyJobManager(webService, new BasicSerializerSet(typeMapping));
    proxy.setAllowLocalFileTransfers(false);
    return proxy;
View Full Code Here

        JobManager localSystem = createLocalJobManager(taskProvider);
 
        File baseDir = new File("C:\\GRIDP_EXEC");
  SimpleJobFolderFactory jobFolderFactory = new SimpleJobFolderFactory(baseDir);
 
        JobManagerServiceImpl webService = new JobManagerServiceImpl(localSystem, new BasicSerializerSet(), jobFolderFactory);
        //webService.setDeleteDirectoriesWhenFreed(true);
     
        //DO NOT FORGET TO CLONE!
        TypeMapping typeMapping = (TypeMapping)Types.getDefaultTypeMapping().clone();
        typeMapping.putContentType("file", TransferableFile.DATA_TYPE);
View Full Code Here

TOP

Related Classes of gri.tasks.remote.server.JobManagerServiceImpl

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.