KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > netbeans > modules > j2ee > dd > api > ejb > AssemblyDescriptor


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 package org.netbeans.modules.j2ee.dd.api.ejb;
21
22 //
23
// This interface has all of the bean info accessor methods.
24
//
25
import org.netbeans.modules.j2ee.dd.api.common.SecurityRole;
26 import org.netbeans.modules.j2ee.dd.api.common.MessageDestination;
27 import org.netbeans.modules.j2ee.dd.api.common.VersionNotSupportedException;
28
29 public interface AssemblyDescriptor extends org.netbeans.modules.j2ee.dd.api.common.CommonDDBean {
30
31         public static final String JavaDoc SECURITY_ROLE = "SecurityRole"; // NOI18N
32
public static final String JavaDoc METHOD_PERMISSION = "MethodPermission"; // NOI18N
33
public static final String JavaDoc CONTAINER_TRANSACTION = "ContainerTransaction"; // NOI18N
34
public static final String JavaDoc MESSAGE_DESTINATION = "MessageDestination"; // NOI18N
35
public static final String JavaDoc EXCLUDE_LIST = "ExcludeList"; // NOI18N
36

37         public ContainerTransaction[] getContainerTransaction();
38         
39         public ContainerTransaction getContainerTransaction(int index);
40         
41         public void setContainerTransaction(ContainerTransaction[] value);
42         
43         public void setContainerTransaction(int index, ContainerTransaction value);
44         
45     public int sizeContainerTransaction();
46
47     public int addContainerTransaction(org.netbeans.modules.j2ee.dd.api.ejb.ContainerTransaction value);
48
49     public int removeContainerTransaction(org.netbeans.modules.j2ee.dd.api.ejb.ContainerTransaction value);
50         
51         public ContainerTransaction newContainerTransaction();
52         
53         public MethodPermission[] getMethodPermission();
54         
55         public MethodPermission getMethodPermission(int index);
56         
57         public void setMethodPermission(MethodPermission[] value);
58         
59         public void setMethodPermission(int index, MethodPermission value);
60         
61     public int addMethodPermission(org.netbeans.modules.j2ee.dd.api.ejb.MethodPermission value);
62
63     public int sizeMethodPermission();
64
65     public int removeMethodPermission(org.netbeans.modules.j2ee.dd.api.ejb.MethodPermission value);
66         
67         public MethodPermission newMethodPermission();
68         
69         public SecurityRole[] getSecurityRole();
70         
71         public SecurityRole getSecurityRole(int index);
72         
73         public void setSecurityRole(SecurityRole[] value);
74         
75         public void setSecurityRole(int index, SecurityRole value);
76      
77     public int sizeSecurityRole();
78
79     public int removeSecurityRole(org.netbeans.modules.j2ee.dd.api.common.SecurityRole value);
80
81     public int addSecurityRole(org.netbeans.modules.j2ee.dd.api.common.SecurityRole value);
82         
83         public SecurityRole newSecurityRole();
84
85         public void setExcludeList(ExcludeList value);
86
87         public ExcludeList getExcludeList();
88         
89         public ExcludeList newExcludeList();
90         
91         //2.1
92
public MessageDestination[] getMessageDestination() throws VersionNotSupportedException;
93         
94         public MessageDestination getMessageDestination(int index) throws VersionNotSupportedException;
95         
96         public void setMessageDestination(MessageDestination[] value) throws VersionNotSupportedException;
97         
98         public void setMessageDestination(int index, MessageDestination value) throws VersionNotSupportedException;
99         
100         public int sizeMessageDestination() throws VersionNotSupportedException;
101
102     public int removeMessageDestination(MessageDestination value) throws VersionNotSupportedException;
103
104     public int addMessageDestination(MessageDestination value) throws VersionNotSupportedException;
105         
106         public MessageDestination newMessageDestination() throws VersionNotSupportedException;
107         
108 }
109  
110
111
Popular Tags