Interface ObjectInstantiator


  • public interface ObjectInstantiator
    Responsible for instantiating the object instances.
    Author:
    Daniel Sagenschneider
    • 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.