package org.apache.tuscany.core.builder; import org.apache.tuscany.core.injection.ObjectCreationException; /** * Implementations create new instances of a particular type * * @version $Rev$ $Date$ */ public interface ObjectFactory { /** * Return a instance of the type that this factory creates. * * @return a instance from this factory */ T getInstance() throws ObjectCreationException; }