blob: 7d27df4ebd2256c0bc0bcff207d25613caa99edb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
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<T> {
/**
* Return a instance of the type that this factory creates.
*
* @return a instance from this factory
*/
T getInstance() throws ObjectCreationException;
}
|