biz.chitec.quarterback.gjsa.server
Class CommandExecutor
java.lang.Object
biz.chitec.quarterback.gjsa.server.CommandExecutor
- Direct Known Subclasses:
- BasicAdminExecutor, BasicAlwaysExecutor, BasicExecutor, ChatLoginExecutor, DoChatExecutor, FileUploadExecutor, GenericProxyExecutor, LoggingExecutor, SyncBurstReceiverDemo.SyncBurstDemoServer.IntCountExecutor
- public class CommandExecutor
- extends java.lang.Object
Pseudo interface for the basic command executor object.
Contains some real functionality, as it initializes the ResourceBundle for i18n'd messages.
- Version:
- $Id: 0573d849620cd058c38b873b016d001fb32c32ed $
- Author:
- Dirk Hillbrecht 1997-1999, chitec/Dirk Hillbrecht 2000, cantamen/Dirk Hillbrecht 2003.
Distributed under the terms of the GNU LGPL.
Field Summary |
protected GJSAServer |
myserv
The GJSA server on which this command executor instance lives. |
protected ServerThreadBase |
mythreadbase
The thread base of this command executor instance. |
protected java.util.ResourceBundle |
rb
The (localized) resources of this command executor. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
rb
protected java.util.ResourceBundle rb
- The (localized) resources of this command executor. Needed for localized error messages or stuff like
this. The frameword allows a client to set its preferred locale an the initalization code of CommandExecutor
tries to load the appropriate bundle if available.
myserv
protected GJSAServer myserv
- The GJSA server on which this command executor instance lives. Having this available while execution is
very useful under many circumstances. Most CommandExecutors will need it so it stored by the
root of all command executors in a special variable.
mythreadbase
protected ServerThreadBase mythreadbase
- The thread base of this command executor instance. Having this available while execution is
very useful under many circumstances. Most CommandExecutors will need it so it stored by the
root of all command executors in a special variable.
CommandExecutor
public CommandExecutor(ServerThreadBase stb)
getServerThreadBase
public ServerThreadBase getServerThreadBase()
query
public ServerReply query(ServerRequest req)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
leavingActions
public void leavingActions()
toString
public java.lang.String toString()