Package com.oracle.coherence.common.base
Interface Factory<T>
-
- Type Parameters:
T
- the type of the created object
public interface Factory<T>
The Factory interface provides a means of producing objects of a given type.- Author:
- mf 2010.11.23
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description T
create()
Create a new instance.
-
-
-
Method Detail
-
create
T create()
Create a new instance.If the produced object requires constructor parameters, they must be externally communicated to the factory.
- Returns:
- a new instance
-
-