public class CombiObjectFactory extends Object implements org.springframework.beans.factory.ObjectFactory
Modifier and Type | Field and Description |
---|---|
protected int |
count |
protected int |
currentFactory |
protected ArrayList<org.springframework.beans.factory.ObjectFactory> |
factories |
protected ArrayList<Integer> |
numberOfObjectsPerFactory |
protected boolean |
overflowed |
protected int |
overFlowFactory |
Constructor and Description |
---|
CombiObjectFactory() |
CombiObjectFactory(ArrayList<org.springframework.beans.factory.ObjectFactory> factories,
ArrayList<Integer> numberOfObjectsPerFactory) |
Modifier and Type | Method and Description |
---|---|
ArrayList<org.springframework.beans.factory.ObjectFactory> |
getFactories() |
Map<org.springframework.beans.factory.ObjectFactory,Integer> |
getFactoryMap() |
ArrayList<Integer> |
getNumberOfObjectsPerFactory() |
Object |
getObject() |
int |
getOverFlowFactory() |
void |
nextFactory() |
void |
setFactories(ArrayList<org.springframework.beans.factory.ObjectFactory> factories) |
void |
setFactoryMap(Map<org.springframework.beans.factory.ObjectFactory,Integer> factoryMap) |
void |
setNumberOfObjectsPerFactory(ArrayList<Integer> numberOfObjectsPerFactory) |
void |
setOverFlowFactory(int overFlowFactory) |
protected ArrayList<org.springframework.beans.factory.ObjectFactory> factories
protected int currentFactory
protected int count
protected int overFlowFactory
protected boolean overflowed
public CombiObjectFactory(ArrayList<org.springframework.beans.factory.ObjectFactory> factories, ArrayList<Integer> numberOfObjectsPerFactory)
public CombiObjectFactory()
public Object getObject() throws org.springframework.beans.BeansException
getObject
in interface org.springframework.beans.factory.ObjectFactory
org.springframework.beans.BeansException
public void nextFactory()
public int getOverFlowFactory()
public void setOverFlowFactory(int overFlowFactory)
public void setNumberOfObjectsPerFactory(ArrayList<Integer> numberOfObjectsPerFactory)
public ArrayList<org.springframework.beans.factory.ObjectFactory> getFactories()
public void setFactories(ArrayList<org.springframework.beans.factory.ObjectFactory> factories)
public void setFactoryMap(Map<org.springframework.beans.factory.ObjectFactory,Integer> factoryMap)
Copyright © 2014. All rights reserved.