org.springframework.batch.integration.chunk
Class ChunkProcessorChunkHandler<S>

java.lang.Object
  extended by org.springframework.batch.integration.chunk.ChunkProcessorChunkHandler<S>
All Implemented Interfaces:
ChunkHandler<S>, org.springframework.beans.factory.InitializingBean

@MessageEndpoint
public class ChunkProcessorChunkHandler<S>
extends java.lang.Object
implements ChunkHandler<S>, org.springframework.beans.factory.InitializingBean


Constructor Summary
ChunkProcessorChunkHandler()
           
 
Method Summary
 void afterPropertiesSet()
           
 ChunkResponse handleChunk(ChunkRequest<S> chunkRequest)
           
 void setChunkProcessor(org.springframework.batch.core.step.item.ChunkProcessor<S> chunkProcessor)
          Public setter for the ChunkProcessor.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChunkProcessorChunkHandler

public ChunkProcessorChunkHandler()
Method Detail

afterPropertiesSet

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

setChunkProcessor

public void setChunkProcessor(org.springframework.batch.core.step.item.ChunkProcessor<S> chunkProcessor)
Public setter for the ChunkProcessor.

Parameters:
chunkProcessor - the chunkProcessor to set

handleChunk

@ServiceActivator
public ChunkResponse handleChunk(ChunkRequest<S> chunkRequest)
Specified by:
handleChunk in interface ChunkHandler<S>
See Also:
ChunkHandler.handleChunk(ChunkRequest)


Copyright © 2009. All Rights Reserved.