jrun.jms.wrapper.enterprise
Class AbstractSessionWrapper
jrun.jms.wrapper.enterprise.AbstractSessionWrapper
- All Implemented Interfaces:
- SessionWrapper, StateObject
- Direct Known Subclasses:
- JRunXASessionImpl
- public abstract class AbstractSessionWrapper
- implements SessionWrapper
AUTO_COMMIT_FALSE
public static final int AUTO_COMMIT_FALSE
AUTO_COMMIT_TRUE
public static final int AUTO_COMMIT_TRUE
DT_PROCESSING
public static final int DT_PROCESSING
INITIAL
public static final int INITIAL
STATUS_MESSAGE_PROCESSING
public static final int STATUS_MESSAGE_PROCESSING
STATUS_READY_FOR_MESSAGE_PROCESSING
public static final int STATUS_READY_FOR_MESSAGE_PROCESSING
m_startMsgProcess
protected boolean m_startMsgProcess
AbstractSessionWrapper
public AbstractSessionWrapper()
isAutoCommit
public boolean isAutoCommit()
SetInitialTransactionAttributes
public void SetInitialTransactionAttributes(boolean transacted,
int mode)
throws javax.jms.JMSException
- Specified by:
SetInitialTransactionAttributes in interface SessionWrapper
handleTransaction
public boolean handleTransaction(javax.transaction.Transaction tx)
throws javax.jms.JMSException
setSessionStatus
public void setSessionStatus(int status)
getSessionStatus
public int getSessionStatus()
markClosed
public void markClosed()
close
public void close()
throws javax.jms.JMSException
- Specified by:
close in interface SessionWrapper
isClosed
public boolean isClosed()
getInvokerType
public int getInvokerType()
setInvokerType
public void setInvokerType(int type)
getTransactionInProgress
public boolean getTransactionInProgress()
setTransactionInProgress
public void setTransactionInProgress(boolean status)
isRestricted
public boolean isRestricted()
TransactioninProgress
public boolean TransactioninProgress()
- Specified by:
TransactioninProgress in interface SessionWrapper
createBytesMessage
public javax.jms.BytesMessage createBytesMessage()
throws javax.jms.JMSException
createMapMessage
public javax.jms.MapMessage createMapMessage()
throws javax.jms.JMSException
createMessage
public javax.jms.Message createMessage()
throws javax.jms.JMSException
createObjectMessage
public javax.jms.ObjectMessage createObjectMessage()
throws javax.jms.JMSException
createObjectMessage
public javax.jms.ObjectMessage createObjectMessage(java.io.Serializable object)
throws javax.jms.JMSException
createStreamMessage
public javax.jms.StreamMessage createStreamMessage()
throws javax.jms.JMSException
createTextMessage
public javax.jms.TextMessage createTextMessage()
throws javax.jms.JMSException
createTextMessage
public javax.jms.TextMessage createTextMessage(java.lang.String text)
throws javax.jms.JMSException
getTransacted
public boolean getTransacted()
throws javax.jms.JMSException
autoRollback
public void autoRollback()
throws javax.jms.JMSException
autoCommit
public void autoCommit()
throws javax.jms.JMSException
commit
public void commit()
throws javax.jms.JMSException
rollback
public void rollback()
throws javax.jms.JMSException
recover
public void recover()
throws javax.jms.JMSException
getMessageListener
public javax.jms.MessageListener getMessageListener()
throws javax.jms.JMSException
setMessageListener
public void setMessageListener(javax.jms.MessageListener listener)
throws javax.jms.JMSException
run
public void run()
createQueue
public javax.jms.Queue createQueue(java.lang.String queueName)
throws javax.jms.JMSException
createSender
public javax.jms.QueueSender createSender(javax.jms.Queue queue)
throws javax.jms.JMSException
createBrowser
public javax.jms.QueueBrowser createBrowser(javax.jms.Queue queue)
throws javax.jms.JMSException
createBrowser
public javax.jms.QueueBrowser createBrowser(javax.jms.Queue queue,
java.lang.String messageSelector)
throws javax.jms.JMSException
createTemporaryQueue
public javax.jms.TemporaryQueue createTemporaryQueue()
throws javax.jms.JMSException
createTopic
public javax.jms.Topic createTopic(java.lang.String topicName)
throws javax.jms.JMSException
createPublisher
public javax.jms.TopicPublisher createPublisher(javax.jms.Topic topic)
throws javax.jms.JMSException
createTemporaryTopic
public javax.jms.TemporaryTopic createTemporaryTopic()
throws javax.jms.JMSException
unsubscribe
public void unsubscribe(java.lang.String name)
throws javax.jms.JMSException
createReceiver
public javax.jms.QueueReceiver createReceiver(javax.jms.Queue queue)
throws javax.jms.JMSException
createReceiver
public javax.jms.QueueReceiver createReceiver(javax.jms.Queue queue,
java.lang.String messageSelector)
throws javax.jms.JMSException
createSubscriber
public javax.jms.TopicSubscriber createSubscriber(javax.jms.Topic topic)
throws javax.jms.JMSException
createSubscriber
public javax.jms.TopicSubscriber createSubscriber(javax.jms.Topic topic,
java.lang.String messageSelector,
boolean noLocal)
throws javax.jms.JMSException
createDurableSubscriber
public javax.jms.TopicSubscriber createDurableSubscriber(javax.jms.Topic topic,
java.lang.String name)
throws javax.jms.JMSException
createDurableSubscriber
public javax.jms.TopicSubscriber createDurableSubscriber(javax.jms.Topic topic,
java.lang.String name,
java.lang.String messageSelector,
boolean noLocal)
throws javax.jms.JMSException
getQueueSession
public javax.jms.QueueSession getQueueSession()
throws javax.jms.JMSException
getTopicSession
public javax.jms.TopicSession getTopicSession()
throws javax.jms.JMSException
Copyright � 2002 Macromedia Corporation. All Rights Reserved.