View Javadoc

1   /*
2    * Copyright 2001-2004 The Apache Software Foundation.
3    * 
4    * Licensed under the Apache License, Version 2.0 (the "License");
5    * you may not use this file except in compliance with the License.
6    * You may obtain a copy of the License at
7    * 
8    *      http://www.apache.org/licenses/LICENSE-2.0
9    * 
10   * Unless required by applicable law or agreed to in writing, software
11   * distributed under the License is distributed on an "AS IS" BASIS,
12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13   * See the License for the specific language governing permissions and
14   * limitations under the License.
15   */
16  
17  package org.apache.geronimo.ews.ws4j2ee.context.impl;
18  
19  import org.apache.geronimo.ews.ws4j2ee.context.j2eeDD.EJBContext;
20  
21  /***
22   * @author hemapani@opensource.lk
23   */
24  public class EJBDDContextImpl implements EJBContext {
25      private String ejbName;
26      private String implBean;
27      private String ejbhomeInterface;
28      private String ejbRemoteInterface;
29      private String ejbLocalHomeInterfce;
30      private String ejbLocalInterface;
31  
32      public EJBDDContextImpl(String ejbName,
33                              String implBean,
34                              String ejbhomeInterface,
35                              String ejbRemoteInterface,
36                              String ejbLocalHomeInterfce,
37                              String ejbLocalInterface) {
38          this.ejbName = ejbName;
39          this.implBean = implBean;
40          this.ejbhomeInterface = ejbhomeInterface;
41          this.ejbRemoteInterface = ejbRemoteInterface;
42          this.ejbLocalHomeInterfce = ejbLocalHomeInterfce;
43          this.ejbLocalInterface = ejbLocalInterface;
44      }
45  
46      /***
47       * @return
48       */
49      public String getEjbLocalHomeInterfce() {
50          return ejbLocalHomeInterfce;
51      }
52  
53      /***
54       * @return
55       */
56      public String getEjbLocalInterface() {
57          return ejbLocalInterface;
58      }
59  
60      /***
61       * @return
62       */
63      public String getEjbName() {
64          return ejbName;
65      }
66  
67      /***
68       * @return
69       */
70      public String getEjbRemoteInterface() {
71          return ejbRemoteInterface;
72      }
73  
74      /***
75       * @return
76       */
77      public String getImplBean() {
78          return implBean;
79      }
80  
81      /***
82       * @return
83       */
84      public String getEjbhomeInterface() {
85          return ejbhomeInterface;
86      }
87  
88      /***
89       * @param string
90       */
91      public void setEjbhomeInterface(String string) {
92          ejbhomeInterface = string;
93      }
94  
95      /***
96       * @param string
97       */
98      public void setEjbLocalHomeInterfce(String string) {
99          ejbLocalHomeInterfce = string;
100     }
101 
102     /***
103      * @param string
104      */
105     public void setEjbLocalInterface(String string) {
106         ejbLocalInterface = string;
107     }
108 
109     /***
110      * @param string
111      */
112     public void setEjbName(String string) {
113         ejbName = string;
114     }
115 
116     /***
117      * @param string
118      */
119     public void setEjbRemoteInterface(String string) {
120         ejbRemoteInterface = string;
121     }
122 
123     /***
124      * @param string
125      */
126     public void setImplBean(String string) {
127         implBean = string;
128     }
129 
130 }