01: /*
02: * Copyright (c) 2002-2003 by OpenSymphony
03: * All rights reserved.
04: */
05: package com.opensymphony.webwork.interceptor;
06:
07: import java.util.Map;
08:
09: /**
10: * Actions that want to be aware of the application Map object should implement this interface.
11: * This will give them access to a Map where they can put objects that should be available
12: * to other parts of the application. <p>
13: * <p/>
14: * Typical uses are configuration objects and caches.
15: *
16: * @author <a href="mailto:rickard@middleware-company.com">Rickard Öberg</a>
17: */
18: public interface ApplicationAware {
19:
20: /**
21: * Sets the map of application properties in the implementing class.
22: *
23: * @param application a Map of application properties.
24: */
25: public void setApplication(Map application);
26: }
|