public void execute(OperationContext context, ModelNode operation) throws OperationFailedException {
final String hostName = model.get(HOST).keys().iterator().next();
final ModelNode serverConfig = model.get(HOST, hostName).get(SERVER_CONFIG);
final Set<String> serversInGroup = getServersForGroup(model, group);
if(serverConfig.isDefined()) {
for (Property config : serverConfig.asPropertyList()) {
final ServerStatus status = serverInventory.determineServerStatus(config.getName());
if (status != ServerStatus.STARTING && status != ServerStatus.STARTED) {
if (group == null || serversInGroup.contains(config.getName())) {
if (status != ServerStatus.STOPPED) {
serverInventory.stopServer(config.getName(), TIMEOUT);