KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > objectweb > petals > binding > xquarebc > mock > MockComponentContext


1 package org.objectweb.petals.binding.xquarebc.mock;
2
3 import java.util.MissingResourceException JavaDoc;
4 import java.util.logging.Logger JavaDoc;
5
6 import javax.jbi.JBIException;
7 import javax.jbi.component.ComponentContext;
8 import javax.jbi.management.MBeanNames;
9 import javax.jbi.messaging.DeliveryChannel;
10 import javax.jbi.messaging.MessagingException;
11 import javax.jbi.servicedesc.ServiceEndpoint;
12 import javax.management.MBeanServer JavaDoc;
13 import javax.naming.InitialContext JavaDoc;
14 import javax.xml.namespace.QName JavaDoc;
15
16 import org.w3c.dom.Document JavaDoc;
17 import org.w3c.dom.DocumentFragment JavaDoc;
18
19 public class MockComponentContext implements ComponentContext {
20
21     public ServiceEndpoint activateEndpoint(QName JavaDoc serviceName,
22             String JavaDoc endpointName) throws JBIException {
23         return null;
24     }
25
26     public void deactivateEndpoint(ServiceEndpoint endpoint)
27         throws JBIException {
28     }
29
30     public void deregisterExternalEndpoint(ServiceEndpoint externalEndpoint)
31         throws JBIException {
32     }
33
34     public String JavaDoc getComponentName() {
35         return null;
36     }
37
38     public DeliveryChannel getDeliveryChannel() throws MessagingException {
39         return null;
40     }
41
42     public ServiceEndpoint getEndpoint(QName JavaDoc service, String JavaDoc name) {
43         return null;
44     }
45
46     public Document JavaDoc getEndpointDescriptor(ServiceEndpoint endpoint)
47         throws JBIException {
48         return null;
49     }
50
51     public ServiceEndpoint[] getEndpoints(QName JavaDoc interfaceName) {
52         return null;
53     }
54
55     public ServiceEndpoint[] getEndpointsForService(QName JavaDoc serviceName) {
56         return null;
57     }
58
59     public ServiceEndpoint[] getExternalEndpoints(QName JavaDoc interfaceName) {
60         return null;
61     }
62
63     public ServiceEndpoint[] getExternalEndpointsForService(QName JavaDoc serviceName) {
64         return null;
65     }
66
67     public String JavaDoc getInstallRoot() {
68         return null;
69     }
70
71     public Logger JavaDoc getLogger(String JavaDoc suffix, String JavaDoc resourceBundleName)
72         throws MissingResourceException JavaDoc, JBIException {
73         return null;
74     }
75
76     public MBeanNames getMBeanNames() {
77         return null;
78     }
79
80     public MBeanServer JavaDoc getMBeanServer() {
81         return null;
82     }
83
84     public InitialContext JavaDoc getNamingContext() {
85         return null;
86     }
87
88     public Object JavaDoc getTransactionManager() {
89         return null;
90     }
91
92     public String JavaDoc getWorkspaceRoot() {
93         return null;
94     }
95
96     public void registerExternalEndpoint(ServiceEndpoint externalEndpoint)
97         throws JBIException {
98     }
99
100     public ServiceEndpoint resolveEndpointReference(DocumentFragment JavaDoc epr) {
101         return null;
102     }
103
104 }
105
Popular Tags