org.apache.log4j.plugins

## Class PluginEvent

- java.lang.Object
- - java.util.EventObject
  - - org.apache.log4j.plugins.PluginEvent

- All Implemented Interfaces:
    Serializable

      public class PluginEvent
      extends EventObject

  All Plugin events are encapsulated in this class, which simply contains the source Plugin, but may in future include more information.
  Author:
    Paul Smith
  See Also:
    Serialized Form

- - ### Field Summary

    - ### Fields inherited from class java.util.EventObject

      `source`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `Plugin` | `getPlugin()` Returns the source Plugin of this event, which is simple the getSource() method casted to Plugin for convenience.

    - ### Methods inherited from class java.util.EventObject

      `getSource, toString`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Method Detail

    - #### getPlugin

          public Plugin getPlugin()

      Returns the source Plugin of this event, which is simple the getSource() method casted to Plugin for convenience.
      Returns:
        Plugin source of this event

Copyright © 2002-2018 Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache Chainsaw, Chainsaw, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.