org.wildfly.clustering.singleton.SingletonServiceBuilderFactory 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;
import org.jboss.msc.service.Service;
import org.jboss.msc.service.ServiceName;
import org.wildfly.clustering.singleton.service.SingletonServiceConfiguratorFactory;
/**
* Factory for creating a singleton service builder.
* @author Paul Ferraro
* @deprecated Replaced by {@link SingletonServiceConfiguratorFactory}
*/
@Deprecated(forRemoval = true)
public interface SingletonServiceBuilderFactory extends SingletonPolicy, SingletonServiceConfiguratorFactory {
@Override
SingletonServiceBuilder createSingletonServiceBuilder(ServiceName name, Service service);
@Override
SingletonServiceBuilder createSingletonServiceBuilder(ServiceName name, Service primaryService, Service backupService);
}