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

org.jgroups.conf.ProtocolStackConfigurator Maven / Gradle / Ivy


package org.jgroups.conf;

import org.jgroups.stack.Protocol;
import org.jgroups.stack.ProtocolHook;

import java.util.List;

/**
 * @author Filip Hanik ([email protected])
 * @author Bela Ban
 * @version 1.0
 */

public interface ProtocolStackConfigurator extends ProtocolHook {
    String                      getProtocolStackString();
    List getProtocolStack();

    /**
     * Invoked after each {@link Protocol} is instantiated and before {@link Protocol#init()} is invoked.
     *
     * @param prot The protocol that was created.
     * @throws Exception If any exception occurred during method invocation.
     */
    @Override
    default void afterCreation(Protocol prot) throws Exception {
        //no-op by default
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy