net.sourceforge.jabm.util
Class CombiObjectFactory
java.lang.Object
net.sourceforge.jabm.util.CombiObjectFactory
- All Implemented Interfaces:
- org.springframework.beans.factory.ObjectFactory
public class CombiObjectFactory
- extends java.lang.Object
- implements org.springframework.beans.factory.ObjectFactory
-
-
Constructor Summary |
CombiObjectFactory()
|
CombiObjectFactory(java.util.ArrayList<org.springframework.beans.factory.ObjectFactory> factories,
java.util.ArrayList<java.lang.Integer> numberOfObjectsPerFactory)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
numberOfObjectsPerFactory
protected java.util.ArrayList<java.lang.Integer> numberOfObjectsPerFactory
factories
protected java.util.ArrayList<org.springframework.beans.factory.ObjectFactory> factories
currentFactory
protected int currentFactory
count
protected int count
overFlowFactory
protected int overFlowFactory
overflowed
protected boolean overflowed
CombiObjectFactory
public CombiObjectFactory(java.util.ArrayList<org.springframework.beans.factory.ObjectFactory> factories,
java.util.ArrayList<java.lang.Integer> numberOfObjectsPerFactory)
CombiObjectFactory
public CombiObjectFactory()
getObject
public java.lang.Object getObject()
throws org.springframework.beans.BeansException
- Specified by:
getObject
in interface org.springframework.beans.factory.ObjectFactory
- Throws:
org.springframework.beans.BeansException
nextFactory
public void nextFactory()
getOverFlowFactory
public int getOverFlowFactory()
setOverFlowFactory
public void setOverFlowFactory(int overFlowFactory)
getNumberOfObjectsPerFactory
public java.util.ArrayList<java.lang.Integer> getNumberOfObjectsPerFactory()
setNumberOfObjectsPerFactory
public void setNumberOfObjectsPerFactory(java.util.ArrayList<java.lang.Integer> numberOfObjectsPerFactory)
getFactories
public java.util.ArrayList<org.springframework.beans.factory.ObjectFactory> getFactories()
setFactories
public void setFactories(java.util.ArrayList<org.springframework.beans.factory.ObjectFactory> factories)
setFactoryMap
public void setFactoryMap(java.util.Map<org.springframework.beans.factory.ObjectFactory,java.lang.Integer> factoryMap)
getFactoryMap
public java.util.Map<org.springframework.beans.factory.ObjectFactory,java.lang.Integer> getFactoryMap()