org.springframework.util
Interface AutoPopulatingList.ElementFactory

Enclosing class:
AutoPopulatingList

public static interface AutoPopulatingList.ElementFactory

Factory interface for creating elements for an index-based access data structure such as a List.


Method Summary
 Object createElement(int index)
          Create the element for the supplied index.
 

Method Detail

createElement

Object createElement(int index)
                     throws AutoPopulatingList.ElementInstantiationException
Create the element for the supplied index.

Returns:
the element object
Throws:
AutoPopulatingList.ElementInstantiationException - if the instantiation process failed (any exception thrown by a target constructor should be propagated as-is)


Copyright © 2002-2008 The Spring Framework.