|
|
Java EE 5 SDK 深圳电信培训中心.徐海蛟老师. |
||||||||
| 上一个类 下一个类 | 框架 无框架 | ||||||||
| 摘要: 嵌套 | 字段 | 构造器 | 方法 | 详细信息: 字段 | 构造器 | 方法 | ||||||||
javax.jms Interface ServerSessionPool
public interface ServerSessionPool
A ServerSessionPool object is an object implemented by an
application server to provide a pool of ServerSession objects
for processing the messages of a ConnectionConsumer (optional).
Its only method is getServerSession. The JMS API does not
architect how the pool is implemented. It could be a static pool of
ServerSession objects, or it could use a sophisticated
algorithm to dynamically create ServerSession objects as
needed.
If the ServerSessionPool is out of
ServerSession objects, the getServerSession call
may block. If a ConnectionConsumer is blocked, it cannot
deliver new messages until a ServerSession is
eventually returned.
- 版本:
- 1.0 - 9 March 1998
- 作者:
- Mark Hapner, Rich Burridge
- 另请参见:
ServerSession
| 方法摘要 | |
|---|---|
ServerSession |
getServerSession()
Return a server session from the pool. |
| 方法详细信息 |
|---|
getServerSession
ServerSession getServerSession() throws JMSException
- Return a server session from the pool.
- 返回:
- a server session from the pool
- 抛出异常:
JMSException- if an application server fails to return aServerSessionout of its server session pool.
|
|
Java EE 5 SDK 深圳电信培训中心.徐海蛟老师. |
||||||||
| 上一个类 下一个类 | 框架 无框架 | ||||||||
| 摘要: 嵌套 | 字段 | 构造器 | 方法 | 详细信息: 字段 | 构造器 | 方法 | ||||||||
提交错误或意见
版权所有 2007 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。深圳电信培训中心.徐海蛟老师教学参考.