com.natpryce.makeiteasy
Interface Instantiator<T>

Type Parameters:
T - the type of object to instantiate

public interface Instantiator<T>

Instantiates an object, with an initial state specified by some given property values or defaults defined by the implementer of this interface.


Method Summary
 T instantiate(PropertyLookup<T> lookup)
          Instantiates a new object.
 

Method Detail

instantiate

T instantiate(PropertyLookup<T> lookup)
Instantiates a new object.

Parameters:
lookup - initialisation property values
Returns:
the new object


Copyright © 2010. All Rights Reserved.