Interface InstantiatorStrategy

All Known Implementing Classes:
BaseInstantiatorStrategy, SerializingInstantiatorStrategy, SingleInstantiatorStrategy, StdInstantiatorStrategy

public interface InstantiatorStrategy
Defines a strategy to determine the best instantiator for a class.
  • Method Summary

    Modifier and Type
    Method
    Description
    Create a dedicated instantiator for the given class
  • Method Details

    • newInstantiatorOf

      <T> ObjectInstantiator<T> newInstantiatorOf(Class<T> type)
      Create a dedicated instantiator for the given class
      Type Parameters:
      T - Type to instantiate
      Parameters:
      type - Class that will be instantiated
      Returns:
      Dedicated instantiator