Package net.officefloor.web.value.load
Interface ObjectInstantiator
-
public interface ObjectInstantiatorResponsible for instantiating the object instances.- Author:
- Daniel Sagenschneider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T> Tinstantiate(java.lang.Class<T> clazz)Instantiates the object.
-
-
-
Method Detail
-
instantiate
<T> T instantiate(java.lang.Class<T> clazz) throws java.lang.ExceptionInstantiates 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.
-
-