org.apache.tuscany.core.builder.impl
Class ArrayMultiplicityObjectFactory
java.lang.Object
org.apache.tuscany.core.builder.impl.ArrayMultiplicityObjectFactory
- All Implemented Interfaces:
- ObjectFactory<Object>
public class ArrayMultiplicityObjectFactory
- extends Object
- implements ObjectFactory<Object>
Resolves targets configured in a multiplicity by delegating to object factories and returning an
Array
containing object instances
- Version:
- $Rev$ $Date$
Method Summary |
Object |
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 |
ArrayMultiplicityObjectFactory
public ArrayMultiplicityObjectFactory(Class interfaceType,
List<ObjectFactory> factories)
getInstance
public Object getInstance()
throws ObjectCreationException
- Description copied from interface:
ObjectFactory
- Return a instance of the type that this factory creates.
- Specified by:
getInstance
in interface ObjectFactory<Object>
- Returns:
- a instance from this factory
- Throws:
ObjectCreationException
-