org.apache.struts2.action

## Interface ApplicationAware

- All Known Subinterfaces:
    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

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

- - ### Method Detail

    - #### withApplication

          void withApplication(Map<String,Object> application)

      Applies the map of application properties in the implementing class.
      Parameters:
        `application` - a Map of application properties.

Copyright © 2000–2025 Apache Software Foundation. All rights reserved.