|
||||||||||
| PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.jms.asf.StdServerSessionPool
Implementation of ServerSessionPool.
Created: Thu Dec 7 17:02:03 2000
| Constructor Summary | |
StdServerSessionPool(Destination (src) destination,
Connection (src) con,
boolean transacted,
int ack,
boolean useLocalTX,
MessageListener (src) listener,
int minSession,
int maxSession,
long keepAlive,
XidFactoryMBean xidFactory)
Construct a StdServerSessionPool using the default pool size. |
|
| Method Summary | |
void |
clear()
Clear the pool, clear out both threads and ServerSessions, connection.stop() should be run before this method. |
ServerSession (src) |
getServerSession()
Get a server session. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public StdServerSessionPool(Destination (src) destination,
Connection (src) con,
boolean transacted,
int ack,
boolean useLocalTX,
MessageListener (src) listener,
int minSession,
int maxSession,
long keepAlive,
XidFactoryMBean xidFactory)
throws JMSException (src)
destination - the destinationcon - connection to get sessions fromtransacted - transaction mode when not XA (ack - ackmode when not XAlistener - the listener the sessions will callminSession - minumum number of sessions in the poolmaxSession - maximum number of sessions in the poolkeepAlive - the time to keep sessions alivexidFactory - Description of Parameter
JMSException (src) - Description of Exception| Method Detail |
public ServerSession (src) getServerSession()
throws JMSException (src)
getServerSession in interface ServerSessionPool (src) JMSException (src) - Failed to get a server session.public void clear()
|
||||||||||
| PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||