KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > netbeans > modules > j2ee > sun > ws7 > serverresources > dd > WS70Resources


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 /*
21  * WS70Resources.java
22
23  */

24
25 package org.netbeans.modules.j2ee.sun.ws7.serverresources.dd;
26
27 import org.netbeans.modules.schema2beans.Schema2BeansRuntimeException;
28
29 /**
30  * Code reused from Appserver common API module
31  */

32 public interface WS70Resources extends org.netbeans.modules.j2ee.sun.dd.api.CommonDDBean {
33
34         public static final String JavaDoc CUSTOM_RESOURCE = "CustomResource"; // NOI18N
35
public static final String JavaDoc EXTERNAL_JNDI_RESOURCE = "ExternalJndiResource"; // NOI18N
36
public static final String JavaDoc JDBC_RESOURCE = "JdbcResource"; // NOI18N
37
public static final String JavaDoc MAIL_RESOURCE = "MailResource"; // NOI18N
38

39     public void setWS70CustomResource(int index, WS70CustomResource value);
40     public WS70CustomResource getWS70CustomResource(int index);
41     public int sizeWS70CustomResource();
42     public void setWS70CustomResource(WS70CustomResource[] value);
43     public WS70CustomResource[] getWS70CustomResource();
44     public int addWS70CustomResource(WS70CustomResource value);
45     public int removeWS70CustomResource(WS70CustomResource value);
46     public WS70CustomResource newWS70CustomResource();
47
48     public void setWS70ExternalJndiResource(int index, WS70ExternalJndiResource value);
49     public WS70ExternalJndiResource getWS70ExternalJndiResource(int index);
50     public int sizeWS70ExternalJndiResource();
51     public void setWS70ExternalJndiResource(WS70ExternalJndiResource[] value);
52     public WS70ExternalJndiResource[] getWS70ExternalJndiResource();
53     public int addWS70ExternalJndiResource(WS70ExternalJndiResource value);
54     public int removeWS70ExternalJndiResource(WS70ExternalJndiResource value);
55     public WS70ExternalJndiResource newWS70ExternalJndiResource();
56
57     public void setWS70JdbcResource(int index, WS70JdbcResource value);
58     public WS70JdbcResource getWS70JdbcResource(int index);
59     public int sizeWS70JdbcResource();
60     public void setWS70JdbcResource(WS70JdbcResource[] value);
61     public WS70JdbcResource[] getWS70JdbcResource();
62     public int addWS70JdbcResource(WS70JdbcResource value);
63     public int removeWS70JdbcResource(WS70JdbcResource value);
64     public WS70JdbcResource newWS70JdbcResource();
65
66     public void setWS70MailResource(int index, WS70MailResource value);
67     public WS70MailResource getWS70MailResource(int index);
68     public int sizeWS70MailResource();
69     public void setWS70MailResource(WS70MailResource[] value);
70     public WS70MailResource[] getWS70MailResource();
71     public int addWS70MailResource(WS70MailResource value);
72     public int removeWS70MailResource(WS70MailResource value);
73     public WS70MailResource newWS70MailResource();
74
75         
76         public void write(java.io.File JavaDoc f) throws java.io.IOException JavaDoc, Schema2BeansRuntimeException;
77 }
78
Popular Tags