public class ShutdownHookAction extends Action
| Modifier and Type | Field and Description |
|---|---|
(package private) ShutdownHookBase |
hook |
private boolean |
inError |
ACTION_CLASS_ATTRIBUTE, CLASS_ATTRIBUTE, FILE_ATTRIBUTE, KEY_ATTRIBUTE, NAME_ATTRIBUTE, PATTERN_ATTRIBUTE, SCOPE_ATTRIBUTE, VALUE_ATTRIBUTEcontext| Constructor and Description |
|---|
ShutdownHookAction() |
| Modifier and Type | Method and Description |
|---|---|
void |
begin(InterpretationContext ic,
java.lang.String name,
org.xml.sax.Attributes attributes)
Instantiates a shutdown hook of the given class and sets its name.
|
void |
end(InterpretationContext ic,
java.lang.String name)
Once the children elements are also parsed, now is the time to activate the
shutdown hook options.
|
body, getColumnNumber, getLineColStr, getLineNumber, toStringaddError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getDeclaredOrigin, getStatusManager, setContextShutdownHookBase hook
private boolean inError
public void begin(InterpretationContext ic, java.lang.String name, org.xml.sax.Attributes attributes) throws ActionException
InterpretationContext's
shutdown hook bag.begin in class ActionActionExceptionpublic void end(InterpretationContext ic, java.lang.String name) throws ActionException
end in class ActionActionException