Source Code Cross Referenced for Session.java in  » IDE-Netbeans » j2ee » org » netbeans » modules » j2ee » dd » api » ejb » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » IDE Netbeans » j2ee » org.netbeans.modules.j2ee.dd.api.ejb 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        /*
002:         * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
003:         *
004:         * Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
005:         *
006:         * The contents of this file are subject to the terms of either the GNU
007:         * General Public License Version 2 only ("GPL") or the Common
008:         * Development and Distribution License("CDDL") (collectively, the
009:         * "License"). You may not use this file except in compliance with the
010:         * License. You can obtain a copy of the License at
011:         * http://www.netbeans.org/cddl-gplv2.html
012:         * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
013:         * specific language governing permissions and limitations under the
014:         * License.  When distributing the software, include this License Header
015:         * Notice in each file and include the License file at
016:         * nbbuild/licenses/CDDL-GPL-2-CP.  Sun designates this
017:         * particular file as subject to the "Classpath" exception as provided
018:         * by Sun in the GPL Version 2 section of the License file that
019:         * accompanied this code. If applicable, add the following below the
020:         * License Header, with the fields enclosed by brackets [] replaced by
021:         * your own identifying information:
022:         * "Portions Copyrighted [year] [name of copyright owner]"
023:         *
024:         * Contributor(s):
025:         *
026:         * The Original Software is NetBeans. The Initial Developer of the Original
027:         * Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
028:         * Microsystems, Inc. All Rights Reserved.
029:         *
030:         * If you wish your version of this file to be governed by only the CDDL
031:         * or only the GPL Version 2, indicate your decision by adding
032:         * "[Contributor] elects to include this software in this distribution
033:         * under the [CDDL or GPL Version 2] license." If you do not indicate a
034:         * single choice of license, a recipient has the option to distribute
035:         * your version of this file under either the CDDL, the GPL Version 2 or
036:         * to extend the choice of license to its licensees as provided above.
037:         * However, if you add GPL Version 2 code and therefore, elected the GPL
038:         * Version 2 license, then the option applies only if the new code is
039:         * made subject to such option by the copyright holder.
040:         */
041:
042:        package org.netbeans.modules.j2ee.dd.api.ejb;
043:
044:        //
045:        // This interface has all of the bean info accessor methods.
046:        //
047:        import org.netbeans.modules.j2ee.dd.api.common.VersionNotSupportedException;
048:
049:        public interface Session extends EntityAndSession {
050:
051:            public static final String SERVICE_ENDPOINT = "ServiceEndpoint"; // NOI18N
052:            public static final String SESSION_TYPE = "SessionType"; // NOI18N
053:            public static final String TRANSACTION_TYPE = "TransactionType"; // NOI18N
054:            public static final String SESSION_TYPE_STATEFUL = "Stateful"; // NOI18N
055:            public static final String SESSION_TYPE_STATELESS = "Stateless"; // NOI18N
056:            public static final String TRANSACTION_TYPE_BEAN = "Bean"; // NOI18N
057:            public static final String TRANSACTION_TYPE_CONTAINER = "Container"; // NOI18N
058:            public static final String BUSINESS_LOCAL = "BusinessLocal"; // NOI18N
059:            public static final String BUSINESS_REMOTE = "BusinessRemote"; // NOI18N
060:
061:            public String getSessionType();
062:
063:            public void setSessionType(String value);
064:
065:            public String getTransactionType();
066:
067:            public void setTransactionType(String value);
068:
069:            //2.1
070:
071:            public void setServiceEndpoint(String value)
072:                    throws VersionNotSupportedException;
073:
074:            public String getServiceEndpoint()
075:                    throws VersionNotSupportedException;
076:
077:            // EJB 3.0
078:
079:            void setMappedName(String value)
080:                    throws VersionNotSupportedException;
081:
082:            String getMappedName() throws VersionNotSupportedException;
083:
084:            void setBusinessLocal(int index, String value)
085:                    throws VersionNotSupportedException;
086:
087:            String getBusinessLocal(int index)
088:                    throws VersionNotSupportedException;
089:
090:            int sizeBusinessLocal() throws VersionNotSupportedException;
091:
092:            void setBusinessLocal(String[] value)
093:                    throws VersionNotSupportedException;
094:
095:            String[] getBusinessLocal() throws VersionNotSupportedException;
096:
097:            int addBusinessLocal(String value)
098:                    throws VersionNotSupportedException;
099:
100:            int removeBusinessLocal(String value)
101:                    throws VersionNotSupportedException;
102:
103:            void setBusinessRemote(int index, String value)
104:                    throws VersionNotSupportedException;
105:
106:            String getBusinessRemote(int index)
107:                    throws VersionNotSupportedException;
108:
109:            int sizeBusinessRemote() throws VersionNotSupportedException;
110:
111:            void setBusinessRemote(String[] value)
112:                    throws VersionNotSupportedException;
113:
114:            String[] getBusinessRemote() throws VersionNotSupportedException;
115:
116:            int addBusinessRemote(String value)
117:                    throws VersionNotSupportedException;
118:
119:            int removeBusinessRemote(String value)
120:                    throws VersionNotSupportedException;
121:
122:            void setTimeoutMethod(NamedMethod valueInterface)
123:                    throws VersionNotSupportedException;
124:
125:            NamedMethod getTimeoutMethod() throws VersionNotSupportedException;
126:
127:            void setInitMethod(int index, InitMethod valueInterface)
128:                    throws VersionNotSupportedException;
129:
130:            InitMethod getInitMethod(int index)
131:                    throws VersionNotSupportedException;
132:
133:            int sizeInitMethod() throws VersionNotSupportedException;
134:
135:            void setInitMethod(InitMethod[] value)
136:                    throws VersionNotSupportedException;
137:
138:            InitMethod[] getInitMethod() throws VersionNotSupportedException;
139:
140:            int addInitMethod(InitMethod valueInterface)
141:                    throws VersionNotSupportedException;
142:
143:            int removeInitMethod(InitMethod valueInterface)
144:                    throws VersionNotSupportedException;
145:
146:            void setRemoveMethod(int index, RemoveMethod valueInterface)
147:                    throws VersionNotSupportedException;
148:
149:            RemoveMethod getRemoveMethod(int index)
150:                    throws VersionNotSupportedException;
151:
152:            int sizeRemoveMethod() throws VersionNotSupportedException;
153:
154:            void setRemoveMethod(RemoveMethod[] value)
155:                    throws VersionNotSupportedException;
156:
157:            RemoveMethod[] getRemoveMethod()
158:                    throws VersionNotSupportedException;
159:
160:            int addRemoveMethod(RemoveMethod valueInterface)
161:                    throws VersionNotSupportedException;
162:
163:            int removeRemoveMethod(RemoveMethod valueInterface)
164:                    throws VersionNotSupportedException;
165:
166:            void setAroundInvoke(int index, AroundInvoke valueInterface)
167:                    throws VersionNotSupportedException;
168:
169:            AroundInvoke getAroundInvoke(int index)
170:                    throws VersionNotSupportedException;
171:
172:            int sizeAroundInvoke() throws VersionNotSupportedException;
173:
174:            void setAroundInvoke(AroundInvoke[] value)
175:                    throws VersionNotSupportedException;
176:
177:            AroundInvoke[] getAroundInvoke()
178:                    throws VersionNotSupportedException;
179:
180:            int addAroundInvoke(AroundInvoke valueInterface)
181:                    throws VersionNotSupportedException;
182:
183:            int removeAroundInvoke(AroundInvoke valueInterface)
184:                    throws VersionNotSupportedException;
185:
186:            void setPersistenceContextRef(int index,
187:                    PersistenceContextRef valueInterface)
188:                    throws VersionNotSupportedException;
189:
190:            PersistenceContextRef getPersistenceContextRef(int index)
191:                    throws VersionNotSupportedException;
192:
193:            int sizePersistenceContextRef() throws VersionNotSupportedException;
194:
195:            void setPersistenceContextRef(PersistenceContextRef[] value)
196:                    throws VersionNotSupportedException;
197:
198:            PersistenceContextRef[] getPersistenceContextRef()
199:                    throws VersionNotSupportedException;
200:
201:            int addPersistenceContextRef(PersistenceContextRef valueInterface)
202:                    throws VersionNotSupportedException;
203:
204:            int removePersistenceContextRef(PersistenceContextRef valueInterface)
205:                    throws VersionNotSupportedException;
206:
207:            void setPersistenceUnitRef(int index,
208:                    PersistenceUnitRef valueInterface)
209:                    throws VersionNotSupportedException;
210:
211:            PersistenceUnitRef getPersistenceUnitRef(int index)
212:                    throws VersionNotSupportedException;
213:
214:            int sizePersistenceUnitRef() throws VersionNotSupportedException;
215:
216:            void setPersistenceUnitRef(PersistenceUnitRef[] value)
217:                    throws VersionNotSupportedException;
218:
219:            PersistenceUnitRef[] getPersistenceUnitRef()
220:                    throws VersionNotSupportedException;
221:
222:            int addPersistenceUnitRef(PersistenceUnitRef valueInterface)
223:                    throws VersionNotSupportedException;
224:
225:            int removePersistenceUnitRef(PersistenceUnitRef valueInterface)
226:                    throws VersionNotSupportedException;
227:
228:            void setPostConstruct(int index, LifecycleCallback valueInterface)
229:                    throws VersionNotSupportedException;
230:
231:            LifecycleCallback getPostConstruct(int index)
232:                    throws VersionNotSupportedException;
233:
234:            int sizePostConstruct() throws VersionNotSupportedException;
235:
236:            void setPostConstruct(LifecycleCallback[] value)
237:                    throws VersionNotSupportedException;
238:
239:            LifecycleCallback[] getPostConstruct()
240:                    throws VersionNotSupportedException;
241:
242:            int addPostConstruct(LifecycleCallback valueInterface)
243:                    throws VersionNotSupportedException;
244:
245:            int removePostConstruct(LifecycleCallback valueInterface)
246:                    throws VersionNotSupportedException;
247:
248:            void setPreDestroy(int index, LifecycleCallback valueInterface)
249:                    throws VersionNotSupportedException;
250:
251:            LifecycleCallback getPreDestroy(int index)
252:                    throws VersionNotSupportedException;
253:
254:            int sizePreDestroy() throws VersionNotSupportedException;
255:
256:            void setPreDestroy(LifecycleCallback[] value)
257:                    throws VersionNotSupportedException;
258:
259:            LifecycleCallback[] getPreDestroy()
260:                    throws VersionNotSupportedException;
261:
262:            int addPreDestroy(LifecycleCallback valueInterface)
263:                    throws VersionNotSupportedException;
264:
265:            int removePreDestroy(LifecycleCallback valueInterface)
266:                    throws VersionNotSupportedException;
267:
268:            void setPostActivate(int index, LifecycleCallback valueInterface)
269:                    throws VersionNotSupportedException;
270:
271:            LifecycleCallback getPostActivate(int index)
272:                    throws VersionNotSupportedException;
273:
274:            int sizePostActivate() throws VersionNotSupportedException;
275:
276:            void setPostActivate(LifecycleCallback[] value)
277:                    throws VersionNotSupportedException;
278:
279:            LifecycleCallback[] getPostActivate()
280:                    throws VersionNotSupportedException;
281:
282:            int addPostActivate(LifecycleCallback valueInterface)
283:                    throws VersionNotSupportedException;
284:
285:            int removePostActivate(LifecycleCallback valueInterface)
286:                    throws VersionNotSupportedException;
287:
288:            void setPrePassivate(int index, LifecycleCallback valueInterface)
289:                    throws VersionNotSupportedException;
290:
291:            LifecycleCallback getPrePassivate(int index)
292:                    throws VersionNotSupportedException;
293:
294:            int sizePrePassivate() throws VersionNotSupportedException;
295:
296:            void setPrePassivate(LifecycleCallback[] value)
297:                    throws VersionNotSupportedException;
298:
299:            LifecycleCallback[] getPrePassivate()
300:                    throws VersionNotSupportedException;
301:
302:            int addPrePassivate(LifecycleCallback valueInterface)
303:                    throws VersionNotSupportedException;
304:
305:            int removePrePassivate(LifecycleCallback valueInterface)
306:                    throws VersionNotSupportedException;
307:
308:            NamedMethod newNamedMethod() throws VersionNotSupportedException;
309:
310:            InitMethod newInitMethod() throws VersionNotSupportedException;
311:
312:            RemoveMethod newRemoveMethod() throws VersionNotSupportedException;
313:
314:            AroundInvoke newAroundInvoke() throws VersionNotSupportedException;
315:
316:            PersistenceContextRef newPersistenceContextRef()
317:                    throws VersionNotSupportedException;
318:
319:            PersistenceUnitRef newPersistenceUnitRef()
320:                    throws VersionNotSupportedException;
321:
322:            LifecycleCallback newLifecycleCallback()
323:                    throws VersionNotSupportedException;
324:
325:        }
w_w___w_.__j___a__v__a_2__s.c__om | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.