org.apache.tuscany.sca.core.factory
Interface ObjectFactory<T>

All Known Implementing Classes:
ArrayMultiplicityObjectFactory, CallableReferenceObjectFactory, CallbackReferenceObjectFactory, CallbackWireObjectFactory, ConversationIDObjectFactory, DefaultPropertyValueObjectFactory.ListObjectFactoryImpl, DefaultPropertyValueObjectFactory.ObjectFactoryImpl, DefaultPropertyValueObjectFactory.ObjectFactoryImplBase, JavaComponentContextFactory, JavaComponentNameFactory, JavaPropertyValueObjectFactory.ArrayObjectFactoryImpl, JavaPropertyValueObjectFactory.ListObjectFactoryImpl, JavaPropertyValueObjectFactory.ObjectFactoryImpl, JavaPropertyValueObjectFactory.ObjectFactoryImplBase, ListMultiplicityObjectFactory, OSGiPropertyValueObjectFactory.ListObjectFactoryImpl, OSGiPropertyValueObjectFactory.ObjectFactoryImpl, OSGiPropertyValueObjectFactory.ObjectFactoryImplBase, RequestContextObjectFactory, ResourceObjectFactory, WireObjectFactory

public interface ObjectFactory<T>

Implementations create new instances of a particular type


Method Summary
 T getInstance()
          Return a instance of the type that this factory creates.
 

Method Detail

getInstance

T getInstance()
              throws ObjectCreationException
Return a instance of the type that this factory creates.

Returns:
a instance from this factory
Throws:
ObjectCreationException