KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > objectweb > petals > jbi > component > lifecycle > mock > ConnectionMock


1 /**
2  * PETALS - PETALS Services Platform.
3  * Copyright (c) 2005 EBM Websourcing, http://www.ebmwebsourcing.com/
4  *
5  * This library is free software; you can redistribute it and/or
6  * modify it under the terms of the GNU Lesser General Public
7  * License as published by the Free Software Foundation; either
8  * version 2.1 of the License, or (at your option) any later version.
9  * This library is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12  * Lesser General Public License for more details.
13  *
14  * You should have received a copy of the GNU Lesser General Public
15  * License along with this library; if not, write to the Free Software
16  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17  *
18  * -------------------------------------------------------------------------
19  * $Id: ConnectionMock.java 12:35:39 PM ddesjardins $
20  * -------------------------------------------------------------------------
21  */

22 package org.objectweb.petals.jbi.component.lifecycle.mock;
23
24 import javax.xml.namespace.QName JavaDoc;
25
26 import org.objectweb.petals.tools.jbicommon.descriptor.Connection;
27
28
29 /**
30  * Mock object of the Connection
31  *
32  * @author ddesjardins - eBMWebsourcing
33  */

34 public class ConnectionMock extends Connection {
35
36     private QName JavaDoc consumerInterfaceName;
37
38     private QName JavaDoc consumerServiceName;
39
40     private String JavaDoc consumerEndpointName;
41
42     private QName JavaDoc providerServiceName;
43
44     private String JavaDoc providerEndpointName;
45
46     public String JavaDoc getConsumerEndpointName() {
47         return consumerEndpointName;
48     }
49
50     public void setConsumerEndpointName(String JavaDoc consumerEndpointName) {
51         this.consumerEndpointName = consumerEndpointName;
52     }
53
54     public QName JavaDoc getConsumerInterfaceName() {
55         return consumerInterfaceName;
56     }
57
58     public void setConsumerInterfaceName(QName JavaDoc consumerInterfaceName) {
59         this.consumerInterfaceName = consumerInterfaceName;
60     }
61
62     public QName JavaDoc getConsumerServiceName() {
63         return consumerServiceName;
64     }
65
66     public void setConsumerServiceName(QName JavaDoc consumerServiceName) {
67         this.consumerServiceName = consumerServiceName;
68     }
69
70     public String JavaDoc getProviderEndpointName() {
71         return providerEndpointName;
72     }
73
74     public void setProviderEndpointName(String JavaDoc providerEndpointName) {
75         this.providerEndpointName = providerEndpointName;
76     }
77
78     public QName JavaDoc getProviderServiceName() {
79         return providerServiceName;
80     }
81
82     public void setProviderServiceName(QName JavaDoc providerServiceName) {
83         this.providerServiceName = providerServiceName;
84     }
85
86 }
87
Popular Tags