org.apache.struts2.interceptor
Interface 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.


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

Method Detail

setApplication

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

Parameters:
application - a Map of application properties.


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