Interface InstanceAllocator<T>


public interface InstanceAllocator<T>
Factory for objects of the specific type.
  • Method Summary

    Modifier and Type
    Method
    Description
    Creates an object instance.
  • Method Details

    • newInstance

      T newInstance() throws Exception
      Creates an object instance. Instance may be not initialized.
      Returns:
      new object instance
      Throws:
      Exception - if something went wrong