All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.wildfly.clustering.singleton.SingletonServiceBuilderFactory Maven / Gradle / Ivy

There is a newer version: 34.0.1.Final
Show newest version
/*
 * 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);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy