Class DefaultCommandFactory<C extends Command>

  • All Implemented Interfaces:
    CommandFactory<C>

    public class DefaultCommandFactory<C extends Command>
    extends Object
    implements CommandFactory<C>
    Default implementation of CommandFactory. This implementation defines the CLI from the given Command implementation (by reading the annotation). Then, Command instance are created by calling an empty constructor on the given Command implementation.
    Author:
    Clement Escoffier