1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18 package org.apache.struts2.interceptor;
19
20 import java.util.Map;
21
22
23 /***
24 * Actions that want to be aware of the application Map object should implement this interface.
25 * This will give them access to a Map where they can put objects that should be available
26 * to other parts of the application. <p>
27 * <p/>
28 * Typical uses are configuration objects and caches.
29 *
30 */
31 public interface ApplicationAware {
32
33 /***
34 * Sets the map of application properties in the implementing class.
35 *
36 * @param application a Map of application properties.
37 */
38 public void setApplication(Map application);
39 }