org.onebusaway.container.spring
Class ListFactoryBean

java.lang.Object
  extended by org.springframework.beans.factory.config.AbstractFactoryBean
      extended by org.onebusaway.container.spring.ListFactoryBean
All Implemented Interfaces:
org.springframework.beans.factory.BeanClassLoaderAware, org.springframework.beans.factory.BeanFactoryAware, org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.FactoryBean, org.springframework.beans.factory.InitializingBean

public class ListFactoryBean
extends org.springframework.beans.factory.config.AbstractFactoryBean

A Spring FactoryBean for creating a List object.

Author:
bdferris
See Also:
MapFactoryBean

Field Summary
 
Fields inherited from class org.springframework.beans.factory.config.AbstractFactoryBean
logger
 
Constructor Summary
ListFactoryBean()
           
 
Method Summary
 void addValues(List<Object> values)
           
protected  Object createInstance()
           
 Class<?> getObjectType()
           
 void setValues(List<Object> values)
           
 
Methods inherited from class org.springframework.beans.factory.config.AbstractFactoryBean
afterPropertiesSet, destroy, destroyInstance, getBeanFactory, getBeanTypeConverter, getEarlySingletonInterfaces, getObject, isSingleton, setBeanClassLoader, setBeanFactory, setSingleton
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ListFactoryBean

public ListFactoryBean()
Method Detail

setValues

public void setValues(List<Object> values)

addValues

public void addValues(List<Object> values)

createInstance

protected Object createInstance()
                         throws Exception
Specified by:
createInstance in class org.springframework.beans.factory.config.AbstractFactoryBean
Throws:
Exception

getObjectType

public Class<?> getObjectType()
Specified by:
getObjectType in interface org.springframework.beans.factory.FactoryBean
Specified by:
getObjectType in class org.springframework.beans.factory.config.AbstractFactoryBean


Copyright © 2011 OneBusAway. All Rights Reserved.