com.sun.enterprise.web.reconfig
Class WebConfigListener
java.lang.Object
com.sun.enterprise.web.reconfig.WebConfigListener
- All Implemented Interfaces:
- MapperUpdateListener, org.jvnet.hk2.config.ConfigListener
public class WebConfigListener
- extends java.lang.Object
- implements org.jvnet.hk2.config.ConfigListener, MapperUpdateListener
Web container dynamic configuration handler
- Author:
- amyroh
|
Method Summary |
org.jvnet.hk2.config.UnprocessedChangeEvents |
changed(java.beans.PropertyChangeEvent[] events)
Handles HttpService change events |
void |
setContainer(WebContainer container)
Set the Web Container for this ConfigListener. |
void |
setLogger(java.util.logging.Logger logger)
|
void |
setNetworkConfig(com.sun.grizzly.config.dom.NetworkConfig config)
|
void |
update(HttpService httpService,
com.sun.grizzly.config.dom.NetworkListener httpListener,
com.sun.grizzly.util.http.mapper.Mapper mapper)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
httpService
public HttpService httpService
managerProperties
public ManagerProperties managerProperties
property
public java.util.List<org.jvnet.hk2.config.types.Property> property
WebConfigListener
public WebConfigListener()
setContainer
public void setContainer(WebContainer container)
- Set the Web Container for this ConfigListener.
Must be set in order to perform dynamic configuration
- Parameters:
container - the container to be set
setLogger
public void setLogger(java.util.logging.Logger logger)
setNetworkConfig
public void setNetworkConfig(com.sun.grizzly.config.dom.NetworkConfig config)
changed
public org.jvnet.hk2.config.UnprocessedChangeEvents changed(java.beans.PropertyChangeEvent[] events)
- Handles HttpService change events
- Specified by:
changed in interface org.jvnet.hk2.config.ConfigListener
- Parameters:
events - the PropertyChangeEvent
update
public void update(HttpService httpService,
com.sun.grizzly.config.dom.NetworkListener httpListener,
com.sun.grizzly.util.http.mapper.Mapper mapper)
- Specified by:
update in interface MapperUpdateListener
Copyright © 2012 GlassFish Community. All Rights Reserved.