Source code: org/mobicents/slee/resource/ResourceAdaptorInterfaceEntry.java
1 /*
2 * Created on Oct 21, 2004
3 *
4 * The Open SLEE Project
5 *
6 * A SLEE for the People
7 *
8 * The source code contained in this file is in in the public domain.
9 * It can be used in any project or product without prior permission,
10 * license or royalty payments. There is no claim of correctness and
11 * NO WARRANTY OF ANY KIND provided with this code.
12 */
13 package org.mobicents.slee.resource;
14
15 import java.io.Serializable;
16
17 /**
18 * 15.1.2 Resource adaptor type deployment descriptor
19 *
20 * A resource-adaptor-interface element. This element is optional. It specifies
21 * the Java type of the resource adaptor interface. Each resource adaptor of
22 * this resource adaptor type provides an implementation of this resource
23 * adaptor interface, An SBB can bind an object of this Java type into its JNDI
24 * component environment using a resource-adaptor-entity-binding element in the
25 * SBB’s deployment descriptor. The resource-adaptor-interface element contains
26 * the following sub-elements: <p> A description element. This is an optional
27 * informational element. <p> A resource-adaptor-interface-name element. This
28 * element specifies the Java type of the resource adaptor interface.
29 *
30 * @author F.Moggia
31 */
32 public class ResourceAdaptorInterfaceEntry implements Serializable {
33 private String description;
34
35 private String name;
36
37 /**
38 * @return Returns the description.
39 */
40 public String getDescription() {
41 return description;
42 }
43
44 /**
45 * @param description
46 * The description to set.
47 */
48 public void setDescription(String description) {
49 this.description = description;
50 }
51
52 /**
53 * @return Returns the interfaceName.
54 */
55 public String getName() {
56 return name;
57 }
58
59 /**
60 * @param interfaceName
61 * The interfaceName to set.
62 */
63 public void setName(String name) {
64 this.name = name;
65 }
66
67 }