Package org.glassfish.kernel.javaee
Class WebContainerStarter
java.lang.Object
org.glassfish.kernel.javaee.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
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.jvnet.hk2.config.UnprocessedChangeEventschanged(PropertyChangeEvent[] events) voidScans 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
-
Field Details
-
mWebContainerNotInstalled
- See Also:
-
mStartContainerDone
- See Also:
-
mUnableStartContainerNoException
- See Also:
-
mUnableStartContainer
- See Also:
-
-
Constructor Details
-
WebContainerStarter
public WebContainerStarter()
-
-
Method Details
-
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:
postConstructin interfaceorg.glassfish.hk2.api.PostConstruct
-
changed
- Specified by:
changedin interfaceorg.jvnet.hk2.config.ConfigListener
-