|
||||||||||
| PREV CLASS (src) NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.resource.adapter.jms.inflow.JmsServerSessionPool
A generic jms session pool.
| Constructor Summary | |
JmsServerSessionPool(JmsActivation (src) activation)
Create a new session pool |
|
| Method Summary | |
JmsActivation (src) |
getActivation()
|
ServerSession (src) |
getServerSession()
Return a server session from the pool. |
protected void |
returnServerSession(JmsServerSession (src) session)
Return the server session |
protected void |
setupConsumer()
Setup the connection consumer |
protected void |
setupSessions()
Setup the sessions |
void |
start()
Start the server session pool |
void |
stop()
Stop the server session pool |
protected void |
teardownConsumer()
Stop the connection consumer |
protected void |
teardownSessions()
Stop the sessions |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public JmsServerSessionPool(JmsActivation (src) activation)
activation - the jms activation| Method Detail |
public JmsActivation (src) getActivation()
public void start()
throws java.lang.Exception
Exeption - for any error
java.lang.Exceptionpublic void stop()
public ServerSession (src) getServerSession()
throws JMSException (src)
ServerSessionPool (src)
getServerSession in interface ServerSessionPool (src) JMSException (src) - if an application server fails to
return a ServerSession out of its
server session pool.protected void returnServerSession(JmsServerSession (src) session)
session - the session
protected void setupSessions()
throws java.lang.Exception
Exeption - for any error
java.lang.Exceptionprotected void teardownSessions()
protected void setupConsumer()
throws java.lang.Exception
Exeption - for any error
java.lang.Exceptionprotected void teardownConsumer()
|
||||||||||
| PREV CLASS (src) NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||