@Override public void disableAll() { for (Class<?> clazz : interfaces.getInterfaces()) { ((ICommand) interfaces.getImplementation(clazz)).enable(false); } interfaces.clear(); }
@Override public ICommand getCommand(Class<?> commandClazz) { return (ICommand) interfaces.getImplementation(commandClazz); }