|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.genericra.inbound.InboundJmsResource
public class InboundJmsResource
ServerSession implementation as per JMS 1.1 specification. This serves as a placeholder for a MessageEndpoint obtained from application server.
| Constructor Summary | |
|---|---|
InboundJmsResource(javax.jms.Session session,
InboundJmsResourcePool pool)
|
|
InboundJmsResource(javax.jms.Session session,
InboundJmsResourcePool pool,
javax.transaction.xa.XAResource xaresource)
|
|
| Method Summary | |
|---|---|
void |
destroy()
|
DeliveryHelper |
getDeliveryHelper()
|
javax.resource.spi.endpoint.MessageEndpoint |
getEndpoint()
|
InboundJmsResourcePool |
getPool()
|
javax.jms.Session |
getSession()
|
javax.transaction.xa.XAResource |
getXAResource()
|
javax.jms.XASession |
getXASession()
|
boolean |
isFree()
|
InboundJmsResource |
markAsBusy()
|
InboundJmsResource |
markAsFree()
|
void |
refresh()
Creates the MessageEndpoint and start the delivery. |
InboundJmsResource |
refreshListener()
Each time a serversession is checked out from the pool, the listener will be recreated. |
void |
release()
|
void |
releaseEndpoint()
Completes the Message delivery and release the MessageEndpoint. |
void |
start()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public InboundJmsResource(javax.jms.Session session,
InboundJmsResourcePool pool)
throws javax.jms.JMSException
javax.jms.JMSException
public InboundJmsResource(javax.jms.Session session,
InboundJmsResourcePool pool,
javax.transaction.xa.XAResource xaresource)
throws javax.jms.JMSException
javax.jms.JMSException| Method Detail |
|---|
public void start()
throws javax.jms.JMSException
start in interface javax.jms.ServerSessionjavax.jms.JMSException
public InboundJmsResource refreshListener()
throws javax.jms.JMSException
javax.jms.JMSExceptionpublic void destroy()
public boolean isFree()
public InboundJmsResource markAsBusy()
public InboundJmsResource markAsFree()
public DeliveryHelper getDeliveryHelper()
public javax.transaction.xa.XAResource getXAResource()
public javax.jms.Session getSession()
getSession in interface javax.jms.ServerSessionpublic InboundJmsResourcePool getPool()
public javax.jms.XASession getXASession()
public javax.resource.spi.endpoint.MessageEndpoint getEndpoint()
public void release()
public void refresh()
throws javax.jms.JMSException
javax.jms.JMSExceptionpublic void releaseEndpoint()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||