Class ListenerHostConfig
java.lang.Object
org.apache.struts2.dispatcher.listener.ListenerHostConfig
- All Implemented Interfaces:
- HostConfig
Host configuration that just holds a ServletContext
- 
Constructor SummaryConstructors
- 
Method Summary
- 
Constructor Details- 
ListenerHostConfigpublic ListenerHostConfig(jakarta.servlet.ServletContext servletContext) 
 
- 
- 
Method Details- 
getInitParameter- Specified by:
- getInitParameterin interface- HostConfig
- Parameters:
- key- The parameter key
- Returns:
- The parameter value
 
- 
getInitParameterNames- Specified by:
- getInitParameterNamesin interface- HostConfig
- Returns:
- A list of parameter names
 
- 
getServletContextpublic jakarta.servlet.ServletContext getServletContext()- Specified by:
- getServletContextin interface- HostConfig
- Returns:
- The servlet context
 
 
-