Package org.apache.struts2.dispatcher

# Interface DispatcherListener

public interface DispatcherListener
A interface to tag those that want to execute code on the init and destory of a Dispatcher.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `dispatcherDestroyed(Dispatcher du)`
  Called when the dispatcher is destroyed
  `void`
  `dispatcherInitialized(Dispatcher du)`
  Called when the dispatcher is initialized

- ## Method Details

  - ### dispatcherInitialized

    void dispatcherInitialized(Dispatcher du)
    Called when the dispatcher is initialized
    Parameters:
      `du` - The dispatcher instance

  - ### dispatcherDestroyed

    void dispatcherDestroyed(Dispatcher du)
    Called when the dispatcher is destroyed
    Parameters:
      `du` - The dispatcher instance