Class ListFactoryBean

    • Constructor Detail

      • ListFactoryBean

        public ListFactoryBean()
    • Method Detail

      • setSourceList

        public void setSourceList(java.util.List<?> sourceList)
        Set the source List, typically populated via XML "list" elements.
      • setTargetListClass

        public void setTargetListClass(@Nullable
                                       java.lang.Class<? extends java.util.List> targetListClass)
        Set the class to use for the target List. Can be populated with a fully qualified class name when defined in a Spring application context.

        Default is a java.util.ArrayList.

        See Also:
      • getObjectType

        public java.lang.Class<java.util.List> getObjectType()
        Description copied from class: AbstractFactoryBean
        This abstract method declaration mirrors the method in the FactoryBean interface, for a consistent offering of abstract template methods.
        Specified by:
        getObjectType in interface FactoryBean<java.util.List<java.lang.Object>>
        Specified by:
        getObjectType in class AbstractFactoryBean<java.util.List<java.lang.Object>>
        the type of object that this FactoryBean creates, or null if not known at the time of the call
        See Also: