|
|||||||||||
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.JmsServerSession
A generic jms session pool.
Constructor Summary | |
JmsServerSession(JmsServerSessionPool pool)
Create a new JmsServerSession |
Method Summary | |
javax.jms.Session |
getSession()
|
void |
onMessage(javax.jms.Message message)
|
void |
release()
|
void |
run()
|
void |
setup()
Setup the session |
void |
start()
|
void |
teardown()
Stop the session |
void |
workAccepted(javax.resource.spi.work.WorkEvent e)
|
void |
workCompleted(javax.resource.spi.work.WorkEvent e)
|
void |
workRejected(javax.resource.spi.work.WorkEvent e)
|
void |
workStarted(javax.resource.spi.work.WorkEvent e)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public JmsServerSession(JmsServerSessionPool pool)
pool
- the server session poolMethod Detail |
public void setup() throws Exception
Exception
public void teardown()
public void onMessage(javax.jms.Message message)
onMessage
in interface javax.jms.MessageListener
public javax.jms.Session getSession() throws javax.jms.JMSException
getSession
in interface javax.jms.ServerSession
javax.jms.JMSException
public void start() throws javax.jms.JMSException
start
in interface javax.jms.ServerSession
javax.jms.JMSException
public void run()
public void release()
release
in interface javax.resource.spi.work.Work
public void workAccepted(javax.resource.spi.work.WorkEvent e)
workAccepted
in interface javax.resource.spi.work.WorkListener
public void workCompleted(javax.resource.spi.work.WorkEvent e)
workCompleted
in interface javax.resource.spi.work.WorkListener
public void workRejected(javax.resource.spi.work.WorkEvent e)
workRejected
in interface javax.resource.spi.work.WorkListener
public void workStarted(javax.resource.spi.work.WorkEvent e)
workStarted
in interface javax.resource.spi.work.WorkListener
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |