Class WebContainerStarter

  • All Implemented Interfaces:
    org.glassfish.hk2.api.PostConstruct, org.jvnet.hk2.config.ConfigListener

    @Service
    @RunLevel(10)
    public class WebContainerStarter
    extends Object
    implements org.glassfish.hk2.api.PostConstruct, org.jvnet.hk2.config.ConfigListener
    Startup service for the web container. This service checks if any domain.xml configuration, or changes in such configuration, that can be handled only by the web container (e.g., access logging) have been specified, and if so, starts the web container (unless already started).
    Author:
    jluehe
    • Constructor Detail

      • WebContainerStarter

        public WebContainerStarter()
    • Method Detail

      • postConstruct

        public void postConstruct()
        Scans the domain.xml to see if it specifies any configuration that can be handled only by the web container, and if so, starts the web container
        Specified by:
        postConstruct in interface org.glassfish.hk2.api.PostConstruct
      • changed

        public org.jvnet.hk2.config.UnprocessedChangeEvents changed​(PropertyChangeEvent[] events)
        Specified by:
        changed in interface org.jvnet.hk2.config.ConfigListener