Package gri.tasks.remote.client

Examples of gri.tasks.remote.client.ProxyJobManager


    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


    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

  if (serializerElem == null)
      serializerSet = new BasicSerializerSet();
  else
      serializerSet = (SerializerSet)serializerSetSerializer.read(serializerElem);
 
  return new ProxyJobManager(service, serializerSet);
    }
View Full Code Here

TOP

Related Classes of gri.tasks.remote.client.ProxyJobManager

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.