-
Enhancement
-
Resolution: Done
-
Major
-
None
-
None
-
False
-
None
-
False
-
-
In Infinispan, RELAY2 is the only protocol that needs to be configured programmatically. Tried to make use of Protocol after creation hook but it instantiates a new instance and all the state is lost.
My proposal is to make ProtocolStackConfigurator extending the ProtocolHook. It invokes the method afterCreation() after each Protocol is created and before init().
PoC on how it would be used: https://github.com/pruivo/infinispan/commit/af2d51523a13129c79bd638476a61bd5ab1894cd