Package net.officefloor.web.value.load
Interface ObjectInstantiator
-
public interface ObjectInstantiator
Responsible for instantiating the object instances.- Author:
- Daniel Sagenschneider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T> T
instantiate(java.lang.Class<T> clazz)
Instantiates the object.
-
-
-
Method Detail
-
instantiate
<T> T instantiate(java.lang.Class<T> clazz) throws java.lang.Exception
Instantiates the object.- Type Parameters:
T
- Object type.- Parameters:
clazz
- Class of object to instantiate.- Returns:
- Instantiated object.
- Throws:
java.lang.Exception
- If fails to instantiate the object.
-
-