Interface ObjectInstantiator<T>
- Type Parameters:
T
-
- All Known Implementing Classes:
DefaultInstantiator
public interface ObjectInstantiator<T>
An
ObjectInstantiator
creates objects without further parameter, e.g.
the DefaultInstantiator
uses the Default-Constructor- Author:
- Oliver Wolff
-
Method Summary
-
Method Details
-
newInstance
T newInstance()- Returns:
- a newly created instance
-
getTargetClass
Class<T> getTargetClass()- Returns:
- the type of object to be generated
-