01: /*
02: * $Author: rahul_kumar $
03: * $Id: Commands.java,v 1.1 2004/02/01 07:39:55 rahul_kumar Exp rahul $
04: * This is free software, as software should be; you can redistribute
05: * it and/or modify it under the terms of the GNU Lesser General Public
06: * License as published by the Free Software Foundation; either
07: * version 2.1 of the License, or (at your option) any later version.
08:
09: * See LICENSE.txt for the full license covering this software/program/code.
10: */
11:
12: package isql;
13:
14: import isql.commands.*;
15:
16: /**
17: * Returns all command objects.
18: * A new command should be added here.
19: * @author rahul kumar <rahul_kumar@yahoo.com>
20: * @see XXX
21: */
22:
23: public class Commands {
24:
25: public static Command[] getCommands() {
26:
27: return new Command[] { new isql.commands.SetCommand(),
28: new isql.commands.ReadCommand(),
29: new isql.commands.ReflectCommand(),
30: new isql.commands.RefreshCommand(),
31: new isql.commands.AbbrCommand(),
32: new isql.commands.CacheCommand(),
33: new isql.commands.ScriptCommand(),
34: new isql.commands.MiscCommand(),
35: new isql.commands.BookmarkCommand(),
36: new isql.commands.MetadataCommand(),
37: new isql.commands.BindCommand(),
38: new isql.commands.BatchCommand(),
39: new isql.commands.SaveCommand(),
40: new isql.commands.InvokeCommand(),
41: new isql.commands.SQLCommand() };
42:
43: }
44:
45: ////// START INSTANCE VARIABLES //////
46:
47: ////// START CONSTANTS AND CLASS LEVEL VARIABLES //////
48: static final String P = "Commands"; // used in exception strings
49:
50: } // end of class
|