Save This Page
Home » spring-framework-2.5.5-with-dependencies » org.springframework » beans » factory » config » [javadoc | source]
org.springframework.beans.factory.config
public class: SetFactoryBean [javadoc | source]
java.lang.Object
   org.springframework.beans.factory.config.AbstractFactoryBean
      org.springframework.beans.factory.config.SetFactoryBean

All Implemented Interfaces:
    BeanClassLoaderAware, DisposableBean, BeanFactoryAware, InitializingBean, FactoryBean

Simple factory for shared Set instances. Allows for central setup of Sets via the "set" element in XML bean definitions.
Fields inherited from org.springframework.beans.factory.config.AbstractFactoryBean:
logger
Method from org.springframework.beans.factory.config.SetFactoryBean Summary:
createInstance,   getObjectType,   setSourceSet,   setTargetSetClass
Methods from org.springframework.beans.factory.config.AbstractFactoryBean:
afterPropertiesSet,   createInstance,   destroy,   destroyInstance,   getBeanFactory,   getBeanTypeConverter,   getEarlySingletonInterfaces,   getObject,   getObjectType,   isSingleton,   setBeanClassLoader,   setBeanFactory,   setSingleton
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.springframework.beans.factory.config.SetFactoryBean Detail:
 protected Object createInstance() 
 public Class getObjectType() 
 public  void setSourceSet(Set sourceSet) 
    Set the source Set, typically populated via XML "set" elements.
 public  void setTargetSetClass(Class targetSetClass) 
    Set the class to use for the target Set. Can be populated with a fully qualified class name when defined in a Spring application context.

    Default is a linked HashSet, keeping the registration order.