Spring for Apache Hadoop

org.springframework.yarn.batch.repository
Class JobRepositoryRemoteService

java.lang.Object
  extended by org.springframework.yarn.batch.repository.JobRepositoryRemoteService
All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean

public class JobRepositoryRemoteService
extends java.lang.Object
implements org.springframework.beans.factory.InitializingBean

Service class handling remote operations for Spring Batch job repository.

Author:
Janne Valkealahti

Constructor Summary
JobRepositoryRemoteService()
           
 
Method Summary
 void afterPropertiesSet()
           
 BaseResponseObject get(BaseObject request)
          Handles requests.
 void setExecutionContextDao(org.springframework.batch.core.repository.dao.ExecutionContextDao executionContextDao)
          Sets the ExecutionContextDao for this service class.
 void setJobExecutionDao(org.springframework.batch.core.repository.dao.JobExecutionDao jobExecutionDao)
          Sets the JobExecutionDao for this service class.
 void setJobInstanceDao(org.springframework.batch.core.repository.dao.JobInstanceDao jobInstanceDao)
          Sets the JobInstanceDao for this service class.
 void setMapJobRepositoryFactoryBean(org.springframework.batch.core.repository.support.MapJobRepositoryFactoryBean mapJobRepositoryFactoryBean)
          Sets the MapJobRepositoryFactoryBean for this service class.
 void setStepExecutionDao(org.springframework.batch.core.repository.dao.StepExecutionDao stepExecutionDao)
          Sets the StepExecutionDao for this service class.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JobRepositoryRemoteService

public JobRepositoryRemoteService()
Method Detail

afterPropertiesSet

public void afterPropertiesSet()
                        throws java.lang.Exception
Specified by:
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
Throws:
java.lang.Exception

setMapJobRepositoryFactoryBean

public void setMapJobRepositoryFactoryBean(org.springframework.batch.core.repository.support.MapJobRepositoryFactoryBean mapJobRepositoryFactoryBean)
Sets the MapJobRepositoryFactoryBean for this service class.

Parameters:
mapJobRepositoryFactoryBean - the MapJobRepositoryFactoryBean

setJobExecutionDao

public void setJobExecutionDao(org.springframework.batch.core.repository.dao.JobExecutionDao jobExecutionDao)
Sets the JobExecutionDao for this service class.

Parameters:
jobExecutionDao - the JobExecutionDao

setJobInstanceDao

public void setJobInstanceDao(org.springframework.batch.core.repository.dao.JobInstanceDao jobInstanceDao)
Sets the JobInstanceDao for this service class.

Parameters:
jobInstanceDao - the JobInstanceDao

setStepExecutionDao

public void setStepExecutionDao(org.springframework.batch.core.repository.dao.StepExecutionDao stepExecutionDao)
Sets the StepExecutionDao for this service class.

Parameters:
stepExecutionDao - the StepExecutionDao

setExecutionContextDao

public void setExecutionContextDao(org.springframework.batch.core.repository.dao.ExecutionContextDao executionContextDao)
Sets the ExecutionContextDao for this service class.

Parameters:
executionContextDao - the ExecutionContextDao

get

public BaseResponseObject get(BaseObject request)
Handles requests.

Parameters:
request - the base object request.
Returns:
response as of type BaseResponseObject

Spring for Apache Hadoop