public static void registerTaskService ( String name , TaskService taskService , String host , String username , String password ) throws SecurityException , RemoteException , ClassNotFoundException , JobExecutionException , LoginException , NotBoundException , ProtocolVersionException { JobService service = connect ( host , username , password ) ; service . registerTaskService ( name , taskService ) ; }
Connects to a job server and provides a source of tasks to be processed .