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