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

org.wildfly.clustering.singleton.server.SingletonContextRegistration Maven / Gradle / Ivy

/*
 * Copyright The WildFly Authors
 * SPDX-License-Identifier: Apache-2.0
 */

package org.wildfly.clustering.singleton.server;

import org.jboss.msc.service.ServiceName;
import org.wildfly.clustering.server.GroupMember;
import org.wildfly.clustering.server.dispatcher.CommandDispatcher;
import org.wildfly.clustering.server.provider.ServiceProviderRegistration;

/**
 * @author Paul Ferraro
 */
public interface SingletonContextRegistration extends SingletonRegistration, SingletonContext {

    CommandDispatcher getCommandDispatcher();

    ServiceProviderRegistration getServiceProviderRegistration();

    @Override
    default void close() {
        this.getServiceProviderRegistration().close();
        this.getCommandDispatcher().close();
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy