org.apache.tuscany.core.builder.impl
Class ListMultiplicityObjectFactory
java.lang.Object
org.apache.tuscany.core.builder.impl.ListMultiplicityObjectFactory
- All Implemented Interfaces:
- ObjectFactory<List>
public class ListMultiplicityObjectFactory
- extends Object
- implements ObjectFactory<List>
Resolves targets configured in a multiplicity by delegating to object factories and returning an
List
containing object instances
- Version:
- $Rev$ $Date$
Method Summary |
List |
getInstance()
Return a instance of the type that this factory creates. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ListMultiplicityObjectFactory
public ListMultiplicityObjectFactory(List<ObjectFactory> factories)
getInstance
public List getInstance()
throws ObjectCreationException
- Description copied from interface:
ObjectFactory
- Return a instance of the type that this factory creates.
- Specified by:
getInstance
in interface ObjectFactory<List>
- Returns:
- a instance from this factory
- Throws:
ObjectCreationException
-