org.apache.log4j.chainsaw
class: ExitAction [javadoc |
source]
java.lang.Object
javax.swing.AbstractAction
org.apache.log4j.chainsaw.ExitAction
All Implemented Interfaces:
Action, Serializable, Cloneable
Encapsulates the action to exit.
- author:
< - a href="mailto:oliver@puppycrawl.com">Oliver Burn
- version:
1.0 -
| Field Summary |
|---|
| public static final ExitAction | INSTANCE | The instance to share |
| Method from org.apache.log4j.chainsaw.ExitAction Detail: |
public void actionPerformed(ActionEvent aIgnore) {
LOG.info("shutting down");
System.exit(0);
}
Will shutdown the application. |