// get its constructor from the class object
Constructor<? extends ConsoleCmdEvent> cmdEventCtor = cmdEventCls.getDeclaredConstructor(
Properties.class);
// create an instance using the constructor object
ConsoleCmdEvent event = cmdEventCtor.newInstance(props);
// create an instance of the corresponding command class and run its "execute" method