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
 String getInitParameter(String key)
           
 Iterator<String> getInitParameterNames()
           
 ServletContext getServletContext()
           
 

Method Detail

getInitParameter

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

getInitParameterNames

Iterator<String> getInitParameterNames()
Returns:
A list of parameter names

getServletContext

ServletContext getServletContext()
Returns:
The servlet context


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