Package org.apache.struts2.action

# 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

  Modifier and Type
  Method
  Description
  `void`
  `withApplication(Map<String,Object> application)`
  Applies the map of application properties in the implementing class.

- ## Method Details

  - ### withApplication

    void withApplication(Map<String,Object> application)
    Applies the map of application properties in the implementing class.
    Parameters:
      `application` - a Map of application properties.