Package org.apache.log4j.plugins
Class PluginEvent
java.lang.Object
java.util.EventObject
org.apache.log4j.plugins.PluginEvent
- All Implemented Interfaces:
Serializable
All Plugin events are encapsulated in this class, which
simply contains the source Plugin, but may in future include more
information.
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.util.EventObject
getSource, toString
-
Constructor Details
-
PluginEvent
PluginEvent(Plugin source) - Parameters:
source
- The source plugin of the event
-
-
Method Details
-
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
-