@CommandHandler public void handle(RequestChangeComponentAvailabilityToInoperativeCommand command, MetaData metaData) { checkCommandAllowed(command.getIdentityContext(), command.getClass()); checkCommunicationAllowed(); apply(new ChangeComponentAvailabilityToInoperativeRequestedEvent(this.id, this.protocol, command.getComponentId(), command.getComponent(), command.getIdentityContext()), metaData); }