Apache Tuscany SCA Kernel Sub-Project

org.apache.tuscany.spi
Interface ObjectFactory<T>


public interface ObjectFactory<T>

Implementations create new instances of a particular type

Version:
$Rev: 430937 $ $Date: 2006-08-11 18:17:56 -0700 (Fri, 11 Aug 2006) $

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

Apache Tuscany SCA Kernel Sub-Project

-