primary
This represents the default no argument constructor used.
InstantiatorClassInstantiator is used for instantiating
objects using either the default no argument constructor or one
that takes deserialized values as parameters. This also exposes
the parameters and constructors used to instantiate the object.private final Detailprivate final Creatorprivate final ParameterMapClassInstantiator(List<Creator> creators,
Creator primary,
ParameterMap registry,
Detail detail) ClassCreator object.private CreatorgetCreator(Criteria criteria) Instantiator which is used
to instantiate the object.Instantiator
objects used to create an instance of the object.getInstance(Criteria criteria) getParameter(String name) Parameter from
the creator.booleanCreator has a
default constructor.toString()ClassCreator object. This is
used to create an object that contains all information that
relates to the construction of an instance.creators - contains the list of all constructors availableprimary - this is the default no argument constructorregistry - contains all parameters for the constructorsdetail - contains the details for the instantiated classCreator has a
default constructor. If the class does contain a no argument
constructor then this will return true.isDefault in interface InstantiatorgetInstance in interface InstantiatorExceptionCriteria
object which contains the deserialized values.getInstance in interface Instantiatorcriteria - this contains the criteria to be usedExceptionInstantiator which is used
to instantiate the object. If there is no match for the instantiator
then the default constructor is provided.criteria - this contains the criteria to be used for thisExceptionParameter from
the creator. A parameter is taken from the constructor which
contains annotations for each object that is required. These
parameters must have a matching field or method.getParameter in interface Instantiatorname - this is the name of the parameter to be acquiredgetParameters in interface InstantiatorInstantiator
objects used to create an instance of the object. Each represents
a constructor and contains the parameters to the constructor.
This is primarily used to validate each constructor against the
fields and methods annotated to ensure they are compatible.getCreators in interface Instantiator