org.wildfly.clustering.singleton.service.SingletonPolicy Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of wildfly-clustering-singleton-api Show documentation
Show all versions of wildfly-clustering-singleton-api Show documentation
Public API for installing singleton MSC services.
/*
* Copyright The WildFly Authors
* SPDX-License-Identifier: Apache-2.0
*/
package org.wildfly.clustering.singleton.service;
import org.jboss.msc.service.ServiceName;
import org.wildfly.clustering.service.ServiceConfigurator;
/**
* Defines a policy for creating singleton services.
* @author Paul Ferraro
*/
public interface SingletonPolicy {
ServiceConfigurator createSingletonServiceConfigurator(ServiceName name);
}