org.keel.clients
Interface KeelClient
- All Known Subinterfaces:
- KeelDistributedClient, KeelJmsClient
- All Known Implementing Classes:
- AxisClient, KeelClientDirect, KeelJmsClientJbossMQ, KeelJmsClientOpenJMS, KeelSocketClient
- public interface KeelClient
Interface to provide for pluggable implementations of Keel clients
- Version:
- $Revision: 1.1 $ $Date: 2003/12/29 06:59:15 $
- Author:
- Michael Nash, Shash Chatterjee Created on May 24, 2003
| Field Summary |
static java.lang.String |
CLIENT_CLASS
The key used to store the Keel-client class in the context |
static java.lang.String |
CLIENT_CONFIG
The key used to store the keel-client config string in the context |
static java.lang.String |
CONFIG_DIR
The key used to store the keel config directory in the context |
CLIENT_CLASS
public static final java.lang.String CLIENT_CLASS
-
The key used to store the Keel-client class in the context
- See Also:
- Constant Field Values
CLIENT_CONFIG
public static final java.lang.String CLIENT_CONFIG
-
The key used to store the keel-client config string in the context
- See Also:
- Constant Field Values
CONFIG_DIR
public static final java.lang.String CONFIG_DIR
-
The key used to store the keel config directory in the context
- See Also:
- Constant Field Values
execute
public KeelResponse execute(KeelRequest req)
throws ModelException,
java.io.IOException
-
Run a business-process, using a request/response architecture
-
- Parameters:
req - The request to pass to Keel
- Returns:
- Keel response
- Throws:
ModelException
java.io.IOException
setId
public void setId(int newId)
-
Set the client id
-
- Parameters:
newId - The ID to set
getId
public int getId()
-
Retrieve the client id
-
- Returns:
- The client ID
Please see keelframework.org for information about new Keel releases.