Package cdc.args

Class AutoFactory<T>

    • Constructor Detail

      • AutoFactory

        public AutoFactory​(Class<T> objectClass)
    • Method Detail

      • create

        protected T create​(Args args,
                           FormalArgs fargs)
        Description copied from class: AbstractFactory
        Creates an object.

        This is the creation method that must be implemented.

        Specified by:
        create in class AbstractFactory<T>
        Parameters:
        args - The effective arguments.
        fargs - The formal arguments that match the effective ones.
        Returns:
        The create object.