org.lexgrid.loader.reader.decorator
Class ProcessingListDecorator<I,O>

java.lang.Object
  extended by org.lexgrid.loader.reader.decorator.ProcessingListDecorator<I,O>
All Implemented Interfaces:
org.springframework.beans.factory.FactoryBean, org.springframework.beans.factory.InitializingBean

public class ProcessingListDecorator<I,O>
extends java.lang.Object
implements org.springframework.beans.factory.FactoryBean, org.springframework.beans.factory.InitializingBean

The Class ProcessingListDecorator.

Author:
Kevin Peterson

Constructor Summary
ProcessingListDecorator(java.util.List<I> list)
          Instantiates a new processing list decorator.
 
Method Summary
 void afterPropertiesSet()
           
 java.lang.Object getObject()
           
 java.lang.Class getObjectType()
           
 org.springframework.batch.item.ItemProcessor<I,O> getProcessor()
          Gets the processor.
 boolean isSingleton()
           
 void setProcessor(org.springframework.batch.item.ItemProcessor<I,O> processor)
          Sets the processor.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProcessingListDecorator

public ProcessingListDecorator(java.util.List<I> list)
Instantiates a new processing list decorator.

Parameters:
list - the list
Method Detail

getObject

public java.lang.Object getObject()
                           throws java.lang.Exception
Specified by:
getObject in interface org.springframework.beans.factory.FactoryBean
Throws:
java.lang.Exception

getObjectType

public java.lang.Class getObjectType()
Specified by:
getObjectType in interface org.springframework.beans.factory.FactoryBean

isSingleton

public boolean isSingleton()
Specified by:
isSingleton in interface org.springframework.beans.factory.FactoryBean

afterPropertiesSet

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

getProcessor

public org.springframework.batch.item.ItemProcessor<I,O> getProcessor()
Gets the processor.

Returns:
the processor

setProcessor

public void setProcessor(org.springframework.batch.item.ItemProcessor<I,O> processor)
Sets the processor.

Parameters:
processor - the processor

Copyright: (c) 2004-2006 Mayo Foundation for Medical Education and Research (MFMER). All rights reserved. MAYO, MAYO CLINIC, and the triple-shield Mayo logo are trademarks and service marks of MFMER.