@Deprecated class XmlCommandRegistrar extends Object
Registers Command classes from an XML file like:
<commands> <!-- default commands --> <command>org.codehaus.groovy.tools.shell.commands.HelpCommand</command> <command>org.codehaus.groovy.tools.shell.commands.ExitCommand</command> <command>org.codehaus.groovy.tools.shell.commands.ImportCommand</command> <command>org.codehaus.groovy.tools.shell.commands.DisplayCommand</command> <command>org.codehaus.groovy.tools.shell.commands.ClearCommand</command> <command>org.codehaus.groovy.tools.shell.commands.ShowCommand</command> <command>org.codehaus.groovy.tools.shell.commands.InspectCommand</command> <command>org.codehaus.groovy.tools.shell.commands.PurgeCommand</command> <command>org.codehaus.groovy.tools.shell.commands.EditCommand</command> <command>org.codehaus.groovy.tools.shell.commands.LoadCommand</command> <command>org.codehaus.groovy.tools.shell.commands.SaveCommand</command> <command>org.codehaus.groovy.tools.shell.commands.RecordCommand</command> <command>org.codehaus.groovy.tools.shell.commands.HistoryCommand</command> <command>org.codehaus.groovy.tools.shell.commands.AliasCommand</command> <command>org.codehaus.groovy.tools.shell.commands.SetCommand</command> <command>org.codehaus.groovy.tools.shell.commands.ShadowCommand</command> <command>org.codehaus.groovy.tools.shell.commands.RegisterCommand</command> <command>org.codehaus.groovy.tools.shell.commands.DocCommand</command> <!-- custom commands --> </commands>
Constructor and description |
---|
XmlCommandRegistrar
(Shell shell, ClassLoader classLoader) |
Copyright © 2003-2021 The Apache Software Foundation. All rights reserved.