public class FactoryBeanReader<T>
extends java.lang.Object
implements org.springframework.beans.factory.FactoryBean, org.springframework.beans.factory.InitializingBean
Constructor and Description |
---|
FactoryBeanReader() |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
org.springframework.batch.item.ItemReader<T> |
getDelegate()
Gets the delegate.
|
java.lang.Object |
getObject() |
java.lang.Class |
getObjectType() |
SkipPolicy<T> |
getSkipPolicy()
Gets the skip policy.
|
boolean |
isSingleton() |
void |
setDelegate(org.springframework.batch.item.ItemReader<T> delegate)
Sets the delegate.
|
void |
setSkipPolicy(SkipPolicy<T> skipPolicy)
Sets the skip policy.
|
public void afterPropertiesSet() throws java.lang.Exception
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
java.lang.Exception
public java.lang.Object getObject() throws java.lang.Exception
getObject
in interface org.springframework.beans.factory.FactoryBean
java.lang.Exception
public java.lang.Class getObjectType()
getObjectType
in interface org.springframework.beans.factory.FactoryBean
public boolean isSingleton()
isSingleton
in interface org.springframework.beans.factory.FactoryBean
public org.springframework.batch.item.ItemReader<T> getDelegate()
public void setDelegate(org.springframework.batch.item.ItemReader<T> delegate)
delegate
- the new delegatepublic SkipPolicy<T> getSkipPolicy()
public void setSkipPolicy(SkipPolicy<T> skipPolicy)
skipPolicy
- the new skip policy