Interface ObjectInstantiator


public interface ObjectInstantiator
Responsible for instantiating the object instances.
Author:
Daniel Sagenschneider
  • Method Summary

    Modifier and Type
    Method
    Description
    <T> T
    instantiate(Class<T> clazz)
    Instantiates the object.
  • Method Details

    • instantiate

      <T> T instantiate(Class<T> clazz) throws Exception
      Instantiates the object.
      Type Parameters:
      T - Object type.
      Parameters:
      clazz - Class of object to instantiate.
      Returns:
      Instantiated object.
      Throws:
      Exception - If fails to instantiate the object.