org.jgroups.conf.ProtocolStackConfigurator Maven / Gradle / Ivy
Go to download
This artifact provides a single jar that contains all classes required to use remote EJB and JMS, including
all dependencies. It is intended for use by those not using maven, maven users should just import the EJB and
JMS BOM's instead (shaded JAR's cause lots of problems with maven, as it is very easy to inadvertently end up
with different versions on classes on the class path).
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
}
}