?? sessionimpl.java
字號:
/**
* Project:ms4j (Message Server for Java)
* Date:2007-2-21
* Authoer : jobsun@gmail.com
*
* This is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation; either version 2.1 of
* the License, or (at your option) any later version.
*
* This software is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
*/
package com.sunjob.ms4j.client;
import java.io.Serializable;
import javax.jms.BytesMessage;
import javax.jms.Destination;
import javax.jms.JMSException;
import javax.jms.MapMessage;
import javax.jms.Message;
import javax.jms.MessageConsumer;
import javax.jms.MessageListener;
import javax.jms.MessageProducer;
import javax.jms.ObjectMessage;
import javax.jms.Queue;
import javax.jms.QueueBrowser;
import javax.jms.QueueReceiver;
import javax.jms.QueueSender;
import javax.jms.QueueSession;
import javax.jms.Session;
import javax.jms.StreamMessage;
import javax.jms.TemporaryQueue;
import javax.jms.TemporaryTopic;
import javax.jms.TextMessage;
import javax.jms.Topic;
import javax.jms.TopicPublisher;
import javax.jms.TopicSession;
import javax.jms.TopicSubscriber;
import javax.jms.XAQueueSession;
import javax.jms.XASession;
import javax.jms.XATopicSession;
import javax.transaction.xa.XAResource;
/**
* @author sunjob
*
*/
public class SessionImpl implements QueueSession, Session, TopicSession,
XAQueueSession, XASession, XATopicSession, Runnable{
public SessionImpl()
{
}
/* (non-Javadoc)
* @see javax.jms.QueueSession#createBrowser(javax.jms.Queue)
*/
public QueueBrowser createBrowser(Queue arg0) throws JMSException {
// TODO Auto-generated method stub
return null;
}
/* (non-Javadoc)
* @see javax.jms.QueueSession#createBrowser(javax.jms.Queue, java.lang.String)
*/
public QueueBrowser createBrowser(Queue arg0, String arg1)
throws JMSException {
// TODO Auto-generated method stub
return null;
}
/* (non-Javadoc)
* @see javax.jms.QueueSession#createQueue(java.lang.String)
*/
public Queue createQueue(String arg0) throws JMSException {
// TODO Auto-generated method stub
return null;
}
/* (non-Javadoc)
* @see javax.jms.QueueSession#createReceiver(javax.jms.Queue)
*/
public QueueReceiver createReceiver(Queue arg0) throws JMSException {
// TODO Auto-generated method stub
return null;
}
/* (non-Javadoc)
* @see javax.jms.QueueSession#createReceiver(javax.jms.Queue, java.lang.String)
*/
public QueueReceiver createReceiver(Queue arg0, String arg1)
throws JMSException {
// TODO Auto-generated method stub
return null;
}
/* (non-Javadoc)
* @see javax.jms.QueueSession#createSender(javax.jms.Queue)
*/
public QueueSender createSender(Queue arg0) throws JMSException {
// TODO Auto-generated method stub
return null;
}
/* (non-Javadoc)
* @see javax.jms.QueueSession#createTemporaryQueue()
*/
public TemporaryQueue createTemporaryQueue() throws JMSException {
// TODO Auto-generated method stub
return null;
}
/* (non-Javadoc)
* @see javax.jms.Session#close()
*/
public void close() throws JMSException {
// TODO Auto-generated method stub
}
/* (non-Javadoc)
* @see javax.jms.Session#commit()
*/
public void commit() throws JMSException {
// TODO Auto-generated method stub
}
/* (non-Javadoc)
* @see javax.jms.Session#createBytesMessage()
*/
public BytesMessage createBytesMessage() throws JMSException {
// TODO Auto-generated method stub
return null;
}
/* (non-Javadoc)
* @see javax.jms.Session#createConsumer(javax.jms.Destination)
*/
public MessageConsumer createConsumer(Destination arg0) throws JMSException {
// TODO Auto-generated method stub
return null;
}
/* (non-Javadoc)
* @see javax.jms.Session#createConsumer(javax.jms.Destination, java.lang.String)
*/
public MessageConsumer createConsumer(Destination arg0, String arg1)
throws JMSException {
// TODO Auto-generated method stub
return null;
}
/* (non-Javadoc)
* @see javax.jms.Session#createConsumer(javax.jms.Destination, java.lang.String, boolean)
*/
public MessageConsumer createConsumer(Destination arg0, String arg1,
boolean arg2) throws JMSException {
// TODO Auto-generated method stub
return null;
}
/* (non-Javadoc)
* @see javax.jms.Session#createDurableSubscriber(javax.jms.Topic, java.lang.String)
*/
public TopicSubscriber createDurableSubscriber(Topic arg0, String arg1)
throws JMSException {
// TODO Auto-generated method stub
return null;
}
/* (non-Javadoc)
* @see javax.jms.Session#createDurableSubscriber(javax.jms.Topic, java.lang.String, java.lang.String, boolean)
*/
public TopicSubscriber createDurableSubscriber(Topic arg0, String arg1,
String arg2, boolean arg3) throws JMSException {
// TODO Auto-generated method stub
return null;
}
/* (non-Javadoc)
* @see javax.jms.Session#createMapMessage()
*/
public MapMessage createMapMessage() throws JMSException {
// TODO Auto-generated method stub
return null;
}
/* (non-Javadoc)
* @see javax.jms.Session#createMessage()
*/
public Message createMessage() throws JMSException {
// TODO Auto-generated method stub
return null;
}
/* (non-Javadoc)
* @see javax.jms.Session#createObjectMessage()
*/
public ObjectMessage createObjectMessage() throws JMSException {
// TODO Auto-generated method stub
return null;
}
/* (non-Javadoc)
* @see javax.jms.Session#createObjectMessage(java.io.Serializable)
*/
public ObjectMessage createObjectMessage(Serializable arg0)
throws JMSException {
// TODO Auto-generated method stub
return null;
}
/* (non-Javadoc)
* @see javax.jms.Session#createProducer(javax.jms.Destination)
*/
public MessageProducer createProducer(Destination arg0) throws JMSException {
// TODO Auto-generated method stub
return null;
}
/* (non-Javadoc)
* @see javax.jms.Session#createStreamMessage()
*/
public StreamMessage createStreamMessage() throws JMSException {
// TODO Auto-generated method stub
return null;
}
/* (non-Javadoc)
* @see javax.jms.Session#createTemporaryTopic()
*/
public TemporaryTopic createTemporaryTopic() throws JMSException {
// TODO Auto-generated method stub
return null;
}
/* (non-Javadoc)
* @see javax.jms.Session#createTextMessage()
*/
public TextMessage createTextMessage() throws JMSException {
// TODO Auto-generated method stub
return null;
}
/* (non-Javadoc)
* @see javax.jms.Session#createTextMessage(java.lang.String)
*/
public TextMessage createTextMessage(String arg0) throws JMSException {
// TODO Auto-generated method stub
return null;
}
/* (non-Javadoc)
* @see javax.jms.Session#createTopic(java.lang.String)
*/
public Topic createTopic(String arg0) throws JMSException {
// TODO Auto-generated method stub
return null;
}
/* (non-Javadoc)
* @see javax.jms.Session#getAcknowledgeMode()
*/
public int getAcknowledgeMode() throws JMSException {
// TODO Auto-generated method stub
return 0;
}
/* (non-Javadoc)
* @see javax.jms.Session#getMessageListener()
*/
public MessageListener getMessageListener() throws JMSException {
// TODO Auto-generated method stub
return null;
}
/* (non-Javadoc)
* @see javax.jms.Session#getTransacted()
*/
public boolean getTransacted() throws JMSException {
// TODO Auto-generated method stub
return false;
}
/* (non-Javadoc)
* @see javax.jms.Session#recover()
*/
public void recover() throws JMSException {
// TODO Auto-generated method stub
}
/* (non-Javadoc)
* @see javax.jms.Session#rollback()
*/
public void rollback() throws JMSException {
// TODO Auto-generated method stub
}
/* (non-Javadoc)
* @see javax.jms.Session#run()
*/
public void run() {
// TODO Auto-generated method stub
}
/* (non-Javadoc)
* @see javax.jms.Session#setMessageListener(javax.jms.MessageListener)
*/
public void setMessageListener(MessageListener arg0) throws JMSException {
// TODO Auto-generated method stub
}
/* (non-Javadoc)
* @see javax.jms.Session#unsubscribe(java.lang.String)
*/
public void unsubscribe(String arg0) throws JMSException {
// TODO Auto-generated method stub
}
/* (non-Javadoc)
* @see javax.jms.TopicSession#createPublisher(javax.jms.Topic)
*/
public TopicPublisher createPublisher(Topic arg0) throws JMSException {
// TODO Auto-generated method stub
return null;
}
/* (non-Javadoc)
* @see javax.jms.TopicSession#createSubscriber(javax.jms.Topic)
*/
public TopicSubscriber createSubscriber(Topic arg0) throws JMSException {
// TODO Auto-generated method stub
return null;
}
/* (non-Javadoc)
* @see javax.jms.TopicSession#createSubscriber(javax.jms.Topic, java.lang.String, boolean)
*/
public TopicSubscriber createSubscriber(Topic arg0, String arg1,
boolean arg2) throws JMSException {
// TODO Auto-generated method stub
return null;
}
/* (non-Javadoc)
* @see javax.jms.XAQueueSession#getQueueSession()
*/
public QueueSession getQueueSession() throws JMSException {
// TODO Auto-generated method stub
return null;
}
/* (non-Javadoc)
* @see javax.jms.XASession#getSession()
*/
public Session getSession() throws JMSException {
// TODO Auto-generated method stub
return null;
}
/* (non-Javadoc)
* @see javax.jms.XASession#getXAResource()
*/
public XAResource getXAResource() {
// TODO Auto-generated method stub
return null;
}
/* (non-Javadoc)
* @see javax.jms.XATopicSession#getTopicSession()
*/
public TopicSession getTopicSession() throws JMSException {
// TODO Auto-generated method stub
return null;
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -