KickJava   Java API By Example, From Geeks To Geeks.

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


1 package org.jboss.test.messagedriven.mock;
2
3 import java.util.Properties JavaDoc;
4
5 import javax.naming.Context JavaDoc;
6 import javax.naming.NamingException JavaDoc;
7
8 import org.jboss.jms.jndi.JMSProviderAdapter;
9 import org.w3c.dom.Element JavaDoc;
10
11 /**
12  * A MockJMSProviderAdapter.
13  *
14  * @author <a HREF="weston.price@jboss.com">Weston Price</a>
15  * @version $Revision: 44976 $
16  */

17 public class MockJMSProviderAdapter implements JMSProviderAdapter, JmsMockObject
18 {
19    //TODO create mock provider adapter xml file.
20
public String JavaDoc getFactoryRef()
21    {
22       // TODO Auto-generated method stub
23
return null;
24    }
25
26    public Context JavaDoc getInitialContext() throws NamingException JavaDoc
27    {
28       // TODO Auto-generated method stub
29
return null;
30    }
31
32    public String JavaDoc getName()
33    {
34       // TODO Auto-generated method stub
35
return null;
36    }
37
38    public Properties JavaDoc getProperties()
39    {
40       // TODO Auto-generated method stub
41
return null;
42    }
43
44    public String JavaDoc getQueueFactoryRef()
45    {
46       // TODO Auto-generated method stub
47
return null;
48    }
49
50    public String JavaDoc getTopicFactoryRef()
51    {
52       // TODO Auto-generated method stub
53
return null;
54    }
55
56    public void setFactoryRef(String JavaDoc newFactoryRef)
57    {
58       // TODO Auto-generated method stub
59

60    }
61
62    public void setName(String JavaDoc name)
63    {
64       // TODO Auto-generated method stub
65

66    }
67
68    public void setProperties(Properties JavaDoc properties)
69    {
70       // TODO Auto-generated method stub
71

72    }
73
74    public void setQueueFactoryRef(String JavaDoc newQueueFactoryRef)
75    {
76       // TODO Auto-generated method stub
77

78    }
79
80    public void setTopicFactoryRef(String JavaDoc newTopicFactoryRef)
81    {
82       // TODO Auto-generated method stub
83

84    }
85
86    public void load(String JavaDoc xml)
87    {
88       // TODO Auto-generated method stub
89

90    }
91
92    public void load(Element JavaDoc xml)
93    {
94       // TODO Auto-generated method stub
95

96    }
97
98    public void load()
99    {
100       // TODO Auto-generated method stub
101

102    }
103
104 }
105
Popular Tags