- java.lang.Object
-
- com.github.rvesse.airline.DefaultCommandFactory<T>
-
- All Implemented Interfaces:
CommandFactory<T>
public class DefaultCommandFactory<T> extends java.lang.Object implements CommandFactory<T>
-
-
Constructor Summary
Constructors Constructor Description DefaultCommandFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description T
createInstance(java.lang.Class<?> type)
Creates an instance of the given type
-
-
-
Method Detail
-
createInstance
public T createInstance(java.lang.Class<?> type)
Description copied from interface:CommandFactory
Creates an instance of the given type- Specified by:
createInstance
in interfaceCommandFactory<T>
- Parameters:
type
- Type- Returns:
- Instance
-
-