|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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 activationMethod Detail |
public JmsActivation getActivation()
public void start() throws Exception
Exeption
- for any error
Exception
public void stop()
public javax.jms.ServerSession getServerSession() throws javax.jms.JMSException
getServerSession
in interface javax.jms.ServerSessionPool
javax.jms.JMSException
protected void returnServerSession(JmsServerSession session)
session
- the sessionprotected void setupSessions() throws Exception
Exeption
- for any error
Exception
protected void teardownSessions()
protected void setupConsumer() throws Exception
Exeption
- for any error
Exception
protected void teardownConsumer()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |