
org.wildfly.clustering.singleton.server.StopCommand Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of wildfly-clustering-singleton-server Show documentation
Show all versions of wildfly-clustering-singleton-server Show documentation
Contains implementations of the clustering singleton services.
/*
* Copyright The WildFly Authors
* SPDX-License-Identifier: Apache-2.0
*/
package org.wildfly.clustering.singleton.server;
import org.wildfly.clustering.server.dispatcher.Command;
import org.wildfly.clustering.server.manager.Service;
/**
* Command to stop a singleton service.
* @author Paul Ferraro
*/
public enum StopCommand implements Command {
INSTANCE;
@Override
public Void execute(Service service) {
service.stop();
return null;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy