Package org.jgroups.stack
Interface ProtocolHook
-
- All Known Subinterfaces:
ProtocolStackConfigurator
- All Known Implementing Classes:
XmlConfigurator
public interface ProtocolHook
Provides hook(s) that are called when a protocol has been created- Since:
- 3.6.7
- Author:
- Bela Ban
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
afterCreation(Protocol prot)
Called after all protocols have been created, connected and its attributes set, but beforeProtocol.init()
is called.
-
-
-
Method Detail
-
afterCreation
void afterCreation(Protocol prot) throws java.lang.Exception
Called after all protocols have been created, connected and its attributes set, but beforeProtocol.init()
is called. The order of calling the hooks is from bottom to top protocol.- Parameters:
prot
- The protocol that was created.- Throws:
java.lang.Exception
- Thrown is the method failed.
-
-