Class InstanceCreatorFactoryImpl<T>

  • Type Parameters:
    T -
    All Implemented Interfaces:
    org.bson.codecs.pojo.InstanceCreatorFactory<T>

    public class InstanceCreatorFactoryImpl<T>
    extends Object
    implements org.bson.codecs.pojo.InstanceCreatorFactory<T>
    Developer note.
    This is an internal item. Its function and presence are subject to change without warning. Its use is highly discouraged.
    • Constructor Detail

      • InstanceCreatorFactoryImpl

        public InstanceCreatorFactoryImpl​(EntityModel model)
        Creates a factory for this type
        Parameters:
        model - the type's model
    • Method Detail

      • create

        public MorphiaInstanceCreator<T> create()
        Specified by:
        create in interface org.bson.codecs.pojo.InstanceCreatorFactory<T>
        Returns:
        a new ClassAccessor instance