KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > netbeans > modules > j2ee > sun > share > configbean > EjbJarRef


1 /*
2  * The contents of this file are subject to the terms of the Common Development
3  * and Distribution License (the License). You may not use this file except in
4  * compliance with the License.
5  *
6  * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
7  * or http://www.netbeans.org/cddl.txt.
8  *
9  * When distributing Covered Code, include this CDDL Header Notice in each file
10  * and include the License file at http://www.netbeans.org/cddl.txt.
11  * If applicable, add the following below the CDDL Header, with the fields
12  * enclosed by brackets [] replaced by your own identifying information:
13  * "Portions Copyrighted [year] [name of copyright owner]"
14  *
15  * The Original Software is NetBeans. The Initial Developer of the Original
16  * Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
17  * Microsystems, Inc. All Rights Reserved.
18  */

19 /*
20  * EjbJarRef.java
21  *
22  * Created on June 27, 2003, 1:32 PM
23  */

24
25 package org.netbeans.modules.j2ee.sun.share.configbean;
26
27 import java.util.ArrayList JavaDoc;
28 import java.util.Collection JavaDoc;
29
30 import javax.enterprise.deploy.model.DDBean JavaDoc;
31 import javax.enterprise.deploy.spi.exceptions.ConfigurationException JavaDoc;
32
33
34 /**
35  *
36  * @author Peter Williams
37  */

38 public class EjbJarRef extends BaseModuleRef {
39
40     /** -----------------------------------------------------------------------
41      * Initialization
42      */

43
44     /** Creates new EjbJarRef
45      */

46     public EjbJarRef() {
47     }
48
49     public String JavaDoc getHelpId() {
50         return "AS_CFG_ModuleRef"; //NOI18N
51
}
52
53     Collection JavaDoc getSnippets() {
54         // FIXME - create & initialize S2B representative here - may be nothing to do
55
return new ArrayList JavaDoc();
56     }
57
58     boolean loadFromPlanFile(SunONEDeploymentConfiguration config) {
59         return false;
60     }
61
62     /** Getter for customizer title fragment property
63      * @return String fragment for use in customizer title
64      *
65      */

66     public String JavaDoc getTitleFragment() {
67         return bundle.getString("LBL_EjbTitleFragment"); // NOI18N
68
}
69 }
70
Popular Tags