org.jboss.jms.asf
Class StdServerSessionPool
java.lang.Object
|
+--org.jboss.jms.asf.StdServerSessionPool
- All Implemented Interfaces:
- javax.jms.ServerSessionPool
- public class StdServerSessionPool
- extends java.lang.Object
- implements javax.jms.ServerSessionPool
StdServerSessionPool.java
Created: Thu Dec 7 17:02:03 2000
- Version:
-
- Author:
-
Constructor Summary |
StdServerSessionPool(javax.jms.Connection con,
boolean transacted,
int ack,
javax.jms.MessageListener listener)
Minimal constructor, could also have stuff for pool size |
StdServerSessionPool(javax.jms.Connection con,
boolean transacted,
int ack,
javax.jms.MessageListener listener,
int maxSession)
|
Method Summary |
void |
clear()
Clear the pool, clear out both threads and ServerSessions,
connection.stop() should be run before this method. |
javax.jms.ServerSession |
getServerSession()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StdServerSessionPool
public StdServerSessionPool(javax.jms.Connection con,
boolean transacted,
int ack,
javax.jms.MessageListener listener)
throws javax.jms.JMSException
- Minimal constructor, could also have stuff for pool size
StdServerSessionPool
public StdServerSessionPool(javax.jms.Connection con,
boolean transacted,
int ack,
javax.jms.MessageListener listener,
int maxSession)
throws javax.jms.JMSException
getServerSession
public javax.jms.ServerSession getServerSession()
throws javax.jms.JMSException
- Specified by:
getServerSession
in interface javax.jms.ServerSessionPool
clear
public void clear()
- Clear the pool, clear out both threads and ServerSessions,
connection.stop() should be run before this method.
Copyright © 2000 The JBoss Organization. All Rights Reserved.