Uses of Interface
org.apache.log4j.component.plugins.Plugin
Packages that use Plugin
Package
Description
The org.apache.log4j.db package provides means to append logging events
into various databases.
-
Uses of Plugin in org.apache.log4j.component.plugins
Classes in org.apache.log4j.component.plugins that implement PluginModifier and TypeClassDescriptionclassA convienent abstract class for plugin subclasses that implements the basic methods of the Plugin interface.classDefines the base class for Receiver plugins.Methods in org.apache.log4j.component.plugins that return PluginModifier and TypeMethodDescriptionPluginEvent.getPlugin()Returns the source Plugin of this event, which is simple the getSource() method casted to Plugin for convenience.PluginRegistry.stopPlugin(String pluginName) Stops a plugin by plugin name and repository.Methods in org.apache.log4j.component.plugins with parameters of type PluginModifier and TypeMethodDescriptionvoidAdds a plugin to the plugin registry.private voidPluginRegistry.firePluginStarted(Plugin plugin) Calls the pluginStarted method on every registered PluginListener.private voidPluginRegistry.firePluginStopped(Plugin plugin) Calls the pluginStopped method for every registered PluginListner.booleanPlugin.isEquivalent(Plugin testPlugin) Returns true if the testPlugin is considered to be "equivalent" to the this plugin.booleanPluginSkeleton.isEquivalent(Plugin testPlugin) Returns true if the plugin has the same name and logger repository as the testPlugin passed in.Constructors in org.apache.log4j.component.plugins with parameters of type Plugin -
Uses of Plugin in org.apache.log4j.receivers.db
Classes in org.apache.log4j.receivers.db that implement PluginModifier and TypeClassDescriptionclassConverts log data stored in a database into LoggingEvents.class -
Uses of Plugin in org.apache.log4j.receivers.net
Classes in org.apache.log4j.receivers.net that implement PluginModifier and TypeClassDescriptionclassJMSReceiver receives a remote logging event on a configured JSM topic and "posts" it to a LoggerRepository as if the event was generated locally.classMulticast-based receiver.classSocketHubReceiver receives a remote logging event on a configured socket and "posts" it to a LoggerRepository as if the event was generated locally.classSocketReceiver receives a remote logging event on a configured socket and "posts" it to a LoggerRepository as if the event was generated locally.classReceive LoggingEvents encoded with an XMLLayout, convert the XML data to a LoggingEvent and post the LoggingEvent.classXMLSocketReceiver receives a remote logging event via XML on a configured socket and "posts" it to a LoggerRepository as if the event were generated locally.Methods in org.apache.log4j.receivers.net with parameters of type PluginModifier and TypeMethodDescriptionbooleanJMSReceiver.isEquivalent(Plugin testPlugin) Returns true if the receiver is the same class and they are configured for the same properties, and super class also considers them to be equivalent.booleanSocketHubReceiver.isEquivalent(Plugin testPlugin) Returns true if the receiver is the same class and they are configured for the same properties, and super class also considers them to be equivalent.booleanSocketReceiver.isEquivalent(Plugin testPlugin) Returns true if the receiver is the same class and they are configured for the same properties, and super class also considers them to be equivalent.booleanXMLSocketReceiver.isEquivalent(Plugin testPlugin) Returns true if the receiver is the same class and they are configured for the same properties, and super class also considers them to be equivalent. -
Uses of Plugin in org.apache.log4j.receivers.varia
Classes in org.apache.log4j.receivers.varia that implement PluginModifier and TypeClassDescriptionclassLogFilePatternReceiver can parse and tail log files, converting entries into LoggingEvents. -
Uses of Plugin in org.apache.log4j.receivers.xml
Classes in org.apache.log4j.receivers.xml that implement PluginModifier and TypeClassDescriptionclassLogFileXMLReceiver will read an xml-formated log file and make the events in the log file available to the log4j framework.