org.springframework.batch.admin.integration
Class JobConfigurationRequestToResourceAdapter

java.lang.Object
  extended by org.springframework.batch.admin.integration.JobConfigurationRequestToResourceAdapter

@MessageEndpoint
public class JobConfigurationRequestToResourceAdapter
extends java.lang.Object

Adapt a JobConfigurationRequest to a Spring Resource so it can be handled by a generic consumer.

Author:
Dave Syer

Constructor Summary
JobConfigurationRequestToResourceAdapter()
           
 
Method Summary
 org.springframework.core.io.Resource adapt(JobConfigurationRequest request)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JobConfigurationRequestToResourceAdapter

public JobConfigurationRequestToResourceAdapter()
Method Detail

adapt

@ServiceActivator
public org.springframework.core.io.Resource adapt(JobConfigurationRequest request)
                                           throws org.springframework.batch.core.configuration.DuplicateJobException
Throws:
org.springframework.batch.core.configuration.DuplicateJobException


Copyright © 2011. All Rights Reserved.