org.apache.struts2.dispatcher.ng
Interface HostConfig

All Known Implementing Classes:
FilterHostConfig, ListenerHostConfig, ServletHostConfig

public interface HostConfig

Abstraction for host configuration information such as init params or the servlet context.


Method Summary
 java.lang.String getInitParameter(java.lang.String key)
           
 java.util.Iterator<java.lang.String> getInitParameterNames()
           
 javax.servlet.ServletContext getServletContext()
           
 

Method Detail

getInitParameter

java.lang.String getInitParameter(java.lang.String key)
Parameters:
key - The parameter key
Returns:
The parameter value

getInitParameterNames

java.util.Iterator<java.lang.String> getInitParameterNames()
Returns:
A list of parameter names

getServletContext

javax.servlet.ServletContext getServletContext()
Returns:
The servlet context


Copyright © 2000-2011 Apache Software Foundation. All Rights Reserved.