|
|||||||||||
| PREV CLASS 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 activation)
Create a new session pool |
|
| Method Summary | |
JmsActivation |
getActivation()
|
javax.jms.ServerSession |
getServerSession()
|
protected void |
returnServerSession(JmsServerSession 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 activation)
activation - the jms activation| Method Detail |
public JmsActivation getActivation()
public void start()
throws Exception
Exeption - for any error
Exceptionpublic void stop()
public javax.jms.ServerSession getServerSession()
throws javax.jms.JMSException
getServerSession in interface javax.jms.ServerSessionPooljavax.jms.JMSExceptionprotected void returnServerSession(JmsServerSession session)
session - the session
protected void setupSessions()
throws Exception
Exeption - for any error
Exceptionprotected void teardownSessions()
protected void setupConsumer()
throws Exception
Exeption - for any error
Exceptionprotected void teardownConsumer()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||