Interface WebModuleDecorator

  • All Known Implementing Classes:
    DecoratorForJ2EEInstanceListener

    @Contract
    public interface WebModuleDecorator
    Used by EmbeddedWebContainer to give other modules an opporunity to decorate/configure newly created WebModules.

    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.

    Author:
    Kohsuke Kawaguchi
    • Method Detail

      • decorate

        void decorate​(WebModule module)
        Invoked after the initial configuration of WebModule is done. This gives