org.apache.struts2.interceptor
接口 ApplicationAware


public interface ApplicationAware

Actions that want to be aware of the application Map object should implement this interface. This will give them access to a Map where they can put objects that should be available to other parts of the application.

Typical uses are configuration objects and caches.


方法摘要
 void setApplication(Map<String,Object> application)
          Sets the map of application properties in the implementing class.
 

方法详细信息

setApplication

void setApplication(Map<String,Object> application)
Sets the map of application properties in the implementing class.

参数:
application - a Map of application properties.