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
-
Method Summary
Modifier and TypeMethodDescriptionvoidafterCreation(Protocol prot) Called after all protocols have been created, connected and its attributes set, but beforeProtocol.init()is called.
-
Method Details
-
afterCreation
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:
Exception- Thrown is the method failed.
-