bea.jolt
Class JoltRequest
java.lang.Object
|
+--bea.jolt.JoltRequest
- All Implemented Interfaces:
- bea.jolt.Request
- Direct Known Subclasses:
- JoltRemoteService
- public abstract class JoltRequest
- extends java.lang.Object
- implements bea.jolt.Request
JoltRequest is an abstract class that provides a simple implementation of
Request to minimize the class size. When Queue is implemented in a future
release, this class will be replaced by JoltRequestMessage.
- See Also:
JoltRemoteService
|
Method Summary |
java.lang.String |
getName()
Get the name of the request which maybe a queue or service. |
int |
getRequestType()
Get the request type which maybe a queue or service. |
void |
setNoTimeOut(boolean noTimeOut)
Set the request to be no timeout. |
void |
setRequestPriority(int priority)
Set the request absolute priority. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SERVICE
public static final int SERVICE
QUEUE
public static final int QUEUE
setRequestPriority
public void setRequestPriority(int priority)
- Set the request absolute priority.
- Specified by:
setRequestPriority in interface bea.jolt.Request
- Parameters:
priority - Priority value between 1 and 100 inclusively.
setNoTimeOut
public void setNoTimeOut(boolean noTimeOut)
- Set the request to be no timeout.
- Parameters:
notimeout - True for no timeout; otherwise, false.
getName
public java.lang.String getName()
- Get the name of the request which maybe a queue or service.
- Returns:
- the name of the request.
getRequestType
public int getRequestType()
- Get the request type which maybe a queue or service.
- Returns:
- QUEUE or SERVICE.