KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jboss > test > messagedriven > mock > JmsMockConnection


1 /*
2   * JBoss, Home of Professional Open Source
3   * Copyright 2005, JBoss Inc., and individual contributors as indicated
4   * by the @authors tag. See the copyright.txt in the distribution for a
5   * full listing of individual contributors.
6   *
7   * This is free software; you can redistribute it and/or modify it
8   * under the terms of the GNU Lesser General Public License as
9   * published by the Free Software Foundation; either version 2.1 of
10   * the License, or (at your option) any later version.
11   *
12   * This software is distributed in the hope that it will be useful,
13   * but WITHOUT ANY WARRANTY; without even the implied warranty of
14   * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15   * Lesser General Public License for more details.
16   *
17   * You should have received a copy of the GNU Lesser General Public
18   * License along with this software; if not, write to the Free
19   * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
20   * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
21   */

22 package org.jboss.test.messagedriven.mock;
23
24 import javax.jms.Connection JavaDoc;
25 import javax.jms.ConnectionConsumer JavaDoc;
26 import javax.jms.ConnectionMetaData JavaDoc;
27 import javax.jms.Destination JavaDoc;
28 import javax.jms.ExceptionListener JavaDoc;
29 import javax.jms.JMSException JavaDoc;
30 import javax.jms.ServerSessionPool JavaDoc;
31 import javax.jms.Session JavaDoc;
32 import javax.jms.Topic JavaDoc;
33
34 /**
35  * A JmsMockConnection.
36  *
37  * @author <a HREF="weston.price@jboss.com">Weston Price</a>
38  * @version $Revision: 44976 $
39  */

40 public abstract class JmsMockConnection implements JmsMockObject, Connection JavaDoc, Destination JavaDoc
41 {
42
43    public void close() throws JMSException JavaDoc
44    {
45       // TODO Auto-generated method stub
46

47    }
48
49    public ConnectionConsumer JavaDoc createConnectionConsumer(Destination JavaDoc destination, String JavaDoc messageSelector, ServerSessionPool JavaDoc sessionPool, int maxMessages) throws JMSException JavaDoc
50    {
51       // TODO Auto-generated method stub
52
return null;
53    }
54
55    public ConnectionConsumer JavaDoc createDurableConnectionConsumer(Topic JavaDoc topic, String JavaDoc subscriptionName, String JavaDoc messageSelector, ServerSessionPool JavaDoc sessionPool, int maxMessages) throws JMSException JavaDoc
56    {
57       // TODO Auto-generated method stub
58
return null;
59    }
60
61    public Session JavaDoc createSession(boolean transacted, int acknowledgeMode) throws JMSException JavaDoc
62    {
63       // TODO Auto-generated method stub
64
return null;
65    }
66
67    public String JavaDoc getClientID() throws JMSException JavaDoc
68    {
69       // TODO Auto-generated method stub
70
return null;
71    }
72
73    public ExceptionListener JavaDoc getExceptionListener() throws JMSException JavaDoc
74    {
75       // TODO Auto-generated method stub
76
return null;
77    }
78
79    public ConnectionMetaData JavaDoc getMetaData() throws JMSException JavaDoc
80    {
81       // TODO Auto-generated method stub
82
return null;
83    }
84
85    public void setClientID(String JavaDoc clientID) throws JMSException JavaDoc
86    {
87       // TODO Auto-generated method stub
88

89    }
90
91    public void setExceptionListener(ExceptionListener JavaDoc listener) throws JMSException JavaDoc
92    {
93       // TODO Auto-generated method stub
94

95    }
96
97    public void start() throws JMSException JavaDoc
98    {
99       // TODO Auto-generated method stub
100

101    }
102
103    public void stop() throws JMSException JavaDoc
104    {
105       // TODO Auto-generated method stub
106

107    }
108    
109    
110    
111 }
112
Popular Tags