
org.wildfly.clustering.singleton.service.SingletonServiceTargetFactory 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.ServiceTarget;
import org.wildfly.service.descriptor.BinaryServiceDescriptor;
import org.wildfly.service.descriptor.UnaryServiceDescriptor;
/**
* Factory for creating singleton service targets.
* @author Paul Ferraro
*/
public interface SingletonServiceTargetFactory extends ServiceTargetFactory {
UnaryServiceDescriptor DEFAULT_SERVICE_DESCRIPTOR = UnaryServiceDescriptor.of("org.wildfly.clustering.default-singleton-service-target-factory", SingletonServiceTargetFactory.class);
BinaryServiceDescriptor SERVICE_DESCRIPTOR = BinaryServiceDescriptor.of("org.wildfly.clustering.singleton-service-target-factory", DEFAULT_SERVICE_DESCRIPTOR);
@Override
SingletonServiceTarget createSingletonServiceTarget(ServiceTarget target);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy