|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.jonas_jms.JSession
public class JSession
JSession
Field Summary | |
---|---|
protected boolean |
closed
|
protected Transaction |
currtx
|
protected JConnection |
jconn
|
protected Session |
sess
|
protected static org.objectweb.transaction.jta.TransactionManager |
tm
|
protected boolean |
txover
|
protected XAConnection |
xac
|
protected XAResource |
xares
|
protected XASession |
xasess
|
Fields inherited from interface javax.jms.Session |
---|
AUTO_ACKNOWLEDGE, CLIENT_ACKNOWLEDGE, DUPS_OK_ACKNOWLEDGE, SESSION_TRANSACTED |
Constructor Summary | |
---|---|
protected |
JSession(JConnection jconn)
Prepares the construction of a JSession. |
|
JSession(JConnection jconn,
XAConnection xac)
Constructor |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected XAResource xares
protected boolean txover
protected Transaction currtx
protected boolean closed
protected JConnection jconn
protected static org.objectweb.transaction.jta.TransactionManager tm
protected XAConnection xac
protected Session sess
protected XASession xasess
Constructor Detail |
---|
protected JSession(JConnection jconn)
jconn
- public JSession(JConnection jconn, XAConnection xac)
Method Detail |
---|
protected XAResource getXAResource()
protected Session getMOMSession() throws JMSException
JMSException
protected void MOMSessionClose()
protected void PhysicalClose()
public void close() throws JMSException
close
in interface Session
JMSException
public void commit() throws JMSException
commit
in interface Session
JMSException
public QueueBrowser createBrowser(Queue queue) throws JMSException
createBrowser
in interface Session
JMSException
public QueueBrowser createBrowser(Queue queue, String messageSelector) throws JMSException
createBrowser
in interface Session
JMSException
public BytesMessage createBytesMessage() throws JMSException
createBytesMessage
in interface Session
JMSException
public MessageConsumer createConsumer(Destination destination) throws JMSException
createConsumer
in interface Session
JMSException
public MessageConsumer createConsumer(Destination destination, String messageSelector) throws JMSException
createConsumer
in interface Session
JMSException
public MessageConsumer createConsumer(Destination destination, String messageSelector, boolean NoLocal) throws JMSException
createConsumer
in interface Session
JMSException
public TopicSubscriber createDurableSubscriber(Topic topic, String name) throws JMSException
createDurableSubscriber
in interface Session
JMSException
public TopicSubscriber createDurableSubscriber(Topic topic, String name, String messageSelector, boolean noLocal) throws JMSException
createDurableSubscriber
in interface Session
JMSException
public MapMessage createMapMessage() throws JMSException
createMapMessage
in interface Session
JMSException
public Message createMessage() throws JMSException
createMessage
in interface Session
JMSException
public ObjectMessage createObjectMessage() throws JMSException
createObjectMessage
in interface Session
JMSException
public ObjectMessage createObjectMessage(Serializable object) throws JMSException
createObjectMessage
in interface Session
JMSException
public MessageProducer createProducer(Destination destination) throws JMSException
createProducer
in interface Session
JMSException
public Queue createQueue(String queueName) throws JMSException
createQueue
in interface Session
JMSException
public StreamMessage createStreamMessage() throws JMSException
createStreamMessage
in interface Session
JMSException
public TemporaryQueue createTemporaryQueue() throws JMSException
createTemporaryQueue
in interface Session
JMSException
public TemporaryTopic createTemporaryTopic() throws JMSException
createTemporaryTopic
in interface Session
JMSException
public TextMessage createTextMessage() throws JMSException
createTextMessage
in interface Session
JMSException
public TextMessage createTextMessage(String text) throws JMSException
createTextMessage
in interface Session
JMSException
public Topic createTopic(String topicName) throws JMSException
createTopic
in interface Session
JMSException
public MessageListener getMessageListener() throws JMSException
getMessageListener
in interface Session
JMSException
public boolean getTransacted() throws JMSException
getTransacted
in interface Session
JMSException
public int getAcknowledgeMode() throws JMSException
getAcknowledgeMode
in interface Session
JMSException
public void recover() throws JMSException
recover
in interface Session
JMSException
public void rollback() throws JMSException
rollback
in interface Session
JMSException
public void run()
run
in interface Runnable
run
in interface Session
public void setMessageListener(MessageListener listener) throws JMSException
setMessageListener
in interface Session
JMSException
public void unsubscribe(String name) throws JMSException
unsubscribe
in interface Session
JMSException
public void beforeCompletion()
beforeCompletion
in interface Synchronization
public void afterCompletion(int status)
afterCompletion
in interface Synchronization
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |