@Contract
public interface WebModuleDecorator
EmbeddedWebContainer
to give other modules an
opporunity to decorate/configure newly created WebModule
s.
TODO: I don't have enough domain expertise in the webtier to see
if this is how the abstraction should be defined, but this pattern
of hooking into various listeners of WebModule
seem common
enough.
Note in particular that there's no provision for controlling orders
of listeners.
Modifier and Type | Method and Description |
---|---|
void |
decorate(WebModule module)
Invoked after the initial configuration of
WebModule
is done. |
Copyright © 2018. All rights reserved.