KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sun > enterprise > deployment > runtime > MdbConnectionFactoryDescriptor


1 /*
2  * The contents of this file are subject to the terms
3  * of the Common Development and Distribution License
4  * (the License). You may not use this file except in
5  * compliance with the License.
6  *
7  * You can obtain a copy of the license at
8  * https://glassfish.dev.java.net/public/CDDLv1.0.html or
9  * glassfish/bootstrap/legal/CDDLv1.0.txt.
10  * See the License for the specific language governing
11  * permissions and limitations under the License.
12  *
13  * When distributing Covered Code, include this CDDL
14  * Header Notice in each file and include the License file
15  * at glassfish/bootstrap/legal/CDDLv1.0.txt.
16  * If applicable, add the following below the CDDL Header,
17  * with the fields enclosed by brackets [] replaced by
18  * you own identifying information:
19  * "Portions Copyrighted [year] [name of copyright owner]"
20  *
21  * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
22  */

23
24 /*
25  * @(#) MdbConnectionFactory.java
26  *
27  * Copyright 2000-2001 by iPlanet/Sun Microsystems, Inc.,
28  * 901 San Antonio Road, Palo Alto, California, 94303, U.S.A.
29  * All rights reserved.
30  *
31  * This software is the confidential and proprietary information
32  * of iPlanet/Sun Microsystems, Inc. ("Confidential Information").
33  * You shall not disclose such Confidential Information and shall
34  * use it only in accordance with the terms of the license
35  * agreement you entered into with iPlanet/Sun Microsystems.
36  */

37 package com.sun.enterprise.deployment.runtime;
38
39 import com.sun.enterprise.deployment.Descriptor;
40 import com.sun.enterprise.deployment.ResourcePrincipal;
41
42
43 /** iAS specific DD Element (see the ias-ejb-jar_2_0.dtd for this element)
44  * @author Ludo
45  * @since JDK 1.4
46  */

47 public class MdbConnectionFactoryDescriptor extends Descriptor {
48     
49     
50     
51     private String JavaDoc jndiName;
52     private ResourcePrincipal defaultResourcePrincipal;
53     
54     public MdbConnectionFactoryDescriptor() {
55         
56     }
57     
58     /** Getter for property defaultResourcePrincipal.
59      * @return Value of property defaultResourcePrincipal.
60      */

61     public ResourcePrincipal getDefaultResourcePrincipal() {
62         return defaultResourcePrincipal;
63     }
64     
65     /** Setter for property defaultResourcePrincipal.
66      * @param defaultResourcePrincipal New value of property defaultResourcePrincipal.
67      */

68     public void setDefaultResourcePrincipal(ResourcePrincipal defaultResourcePrincipal) {
69         this.defaultResourcePrincipal = defaultResourcePrincipal;
70     }
71     
72     /** Getter for property jndiName.
73      * @return Value of property jndiName.
74      */

75     public java.lang.String JavaDoc getJndiName() {
76         return jndiName;
77     }
78     
79     /** Setter for property jndiName.
80      * @param jndiName New value of property jndiName.
81      */

82     public void setJndiName(java.lang.String JavaDoc jndiName) {
83         this.jndiName = jndiName;
84     }
85     
86 }
87
88
Popular Tags