Registering your Command via Spring

Use the wrapper class CommandWrapper and create a list, assigned to the commandsToBeRegistered variable of an instance of Receiver.