Package cdc.args

Class AutoFactory<T>

java.lang.Object
cdc.args.AbstractFactory<T>
cdc.args.AutoFactory<T>
All Implemented Interfaces:
Factory<T>

public class AutoFactory<T> extends AbstractFactory<T>
  • Constructor Details

    • AutoFactory

      public AutoFactory(Class<T> objectClass)
  • Method Details

    • 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.