Source Code Cross Referenced for Session.java in  » J2EE » openejb3 » org » apache » openejb » jee » jba » 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 » J2EE » openejb3 » org.apache.openejb.jee.jba 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        /**
002:         * Licensed to the Apache Software Foundation (ASF) under one or more
003:         * contributor license agreements.  See the NOTICE file distributed with
004:         * this work for additional information regarding copyright ownership.
005:         * The ASF licenses this file to You under the Apache License, Version 2.0
006:         * (the "License"); you may not use this file except in compliance with
007:         * the License.  You may obtain a copy of the License at
008:         *
009:         *     http://www.apache.org/licenses/LICENSE-2.0
010:         *
011:         * Unless required by applicable law or agreed to in writing, software
012:         * distributed under the License is distributed on an "AS IS" BASIS,
013:         * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
014:         * See the License for the specific language governing permissions and
015:         * limitations under the License.
016:         */package org.apache.openejb.jee.jba;
017:
018:        import java.util.ArrayList;
019:        import java.util.List;
020:        import javax.xml.bind.annotation.XmlAccessType;
021:        import javax.xml.bind.annotation.XmlAccessorType;
022:        import javax.xml.bind.annotation.XmlAttribute;
023:        import javax.xml.bind.annotation.XmlElement;
024:        import javax.xml.bind.annotation.XmlID;
025:        import javax.xml.bind.annotation.XmlRootElement;
026:        import javax.xml.bind.annotation.XmlType;
027:        import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
028:        import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
029:
030:        /**
031:         * 
032:         */
033:        @XmlAccessorType(XmlAccessType.FIELD)
034:        @XmlType(name="",propOrder={"ejbName","jndiName","localJndiName","callByValue","exceptionOnRollback","timerPersistence","configurationName","invokerBindings","securityProxy","ejbRef","ejbLocalRef","serviceRef","securityIdentity","resourceRef","resourceEnvRef","messageDestinationRef","clustered","clusterConfig","methodAttributes","depends","iorSecurityConfig","portComponent","ejbTimeoutIdentity"})
035:        @XmlRootElement(name="session")
036:        public class Session {
037:
038:            @XmlAttribute
039:            @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
040:            @XmlID
041:            protected String id;
042:            @XmlElement(name="ejb-name",required=true)
043:            protected String ejbName;
044:            @XmlElement(name="jndi-name")
045:            protected JndiName jndiName;
046:            @XmlElement(name="local-jndi-name")
047:            protected String localJndiName;
048:            @XmlElement(name="call-by-value")
049:            protected String callByValue;
050:            @XmlElement(name="exception-on-rollback")
051:            protected String exceptionOnRollback;
052:            @XmlElement(name="timer-persistence")
053:            protected String timerPersistence;
054:            @XmlElement(name="configuration-name")
055:            protected String configurationName;
056:            @XmlElement(name="invoker-bindings")
057:            protected InvokerBindings invokerBindings;
058:            @XmlElement(name="security-proxy")
059:            protected String securityProxy;
060:            @XmlElement(name="ejb-ref")
061:            protected List<EjbRef> ejbRef;
062:            @XmlElement(name="ejb-local-ref")
063:            protected List<EjbLocalRef> ejbLocalRef;
064:            @XmlElement(name="service-ref")
065:            protected List<ServiceRef> serviceRef;
066:            @XmlElement(name="security-identity")
067:            protected SecurityIdentity securityIdentity;
068:            @XmlElement(name="resource-ref")
069:            protected List<ResourceRef> resourceRef;
070:            @XmlElement(name="resource-env-ref")
071:            protected List<ResourceEnvRef> resourceEnvRef;
072:            @XmlElement(name="message-destination-ref")
073:            protected List<MessageDestinationRef> messageDestinationRef;
074:            protected String clustered;
075:            @XmlElement(name="cluster-config")
076:            protected ClusterConfig clusterConfig;
077:            @XmlElement(name="method-attributes")
078:            protected MethodAttributes methodAttributes;
079:            protected List<Depends> depends;
080:            @XmlElement(name="ior-security-config")
081:            protected IorSecurityConfig iorSecurityConfig;
082:            @XmlElement(name="port-component")
083:            protected List<PortComponent> portComponent;
084:            @XmlElement(name="ejb-timeout-identity")
085:            protected EjbTimeoutIdentity ejbTimeoutIdentity;
086:
087:            /**
088:             * Gets the value of the id property.
089:             * 
090:             * @return
091:             *     possible object is
092:             *     {@link String }
093:             *     
094:             */
095:            public String getId() {
096:                return id;
097:            }
098:
099:            /**
100:             * Sets the value of the id property.
101:             * 
102:             * @param value
103:             *     allowed object is
104:             *     {@link String }
105:             *     
106:             */
107:            public void setId(String value) {
108:                this .id = value;
109:            }
110:
111:            /**
112:             * Gets the value of the ejbName property.
113:             * 
114:             * @return
115:             *     possible object is
116:             *     {@link String }
117:             *     
118:             */
119:            public String getEjbName() {
120:                return ejbName;
121:            }
122:
123:            /**
124:             * Sets the value of the ejbName property.
125:             * 
126:             * @param value
127:             *     allowed object is
128:             *     {@link String }
129:             *     
130:             */
131:            public void setEjbName(String value) {
132:                this .ejbName = value;
133:            }
134:
135:            /**
136:             * Gets the value of the jndiName property.
137:             * 
138:             * @return
139:             *     possible object is
140:             *     {@link JndiName }
141:             *     
142:             */
143:            public JndiName getJndiName() {
144:                return jndiName;
145:            }
146:
147:            /**
148:             * Sets the value of the jndiName property.
149:             * 
150:             * @param value
151:             *     allowed object is
152:             *     {@link JndiName }
153:             *     
154:             */
155:            public void setJndiName(JndiName value) {
156:                this .jndiName = value;
157:            }
158:
159:            /**
160:             * Gets the value of the localJndiName property.
161:             * 
162:             * @return
163:             *     possible object is
164:             *     {@link String }
165:             *     
166:             */
167:            public String getLocalJndiName() {
168:                return localJndiName;
169:            }
170:
171:            /**
172:             * Sets the value of the localJndiName property.
173:             * 
174:             * @param value
175:             *     allowed object is
176:             *     {@link String }
177:             *     
178:             */
179:            public void setLocalJndiName(String value) {
180:                this .localJndiName = value;
181:            }
182:
183:            /**
184:             * Gets the value of the callByValue property.
185:             * 
186:             * @return
187:             *     possible object is
188:             *     {@link String }
189:             *     
190:             */
191:            public String getCallByValue() {
192:                return callByValue;
193:            }
194:
195:            /**
196:             * Sets the value of the callByValue property.
197:             * 
198:             * @param value
199:             *     allowed object is
200:             *     {@link String }
201:             *     
202:             */
203:            public void setCallByValue(String value) {
204:                this .callByValue = value;
205:            }
206:
207:            /**
208:             * Gets the value of the exceptionOnRollback property.
209:             * 
210:             * @return
211:             *     possible object is
212:             *     {@link String }
213:             *     
214:             */
215:            public String getExceptionOnRollback() {
216:                return exceptionOnRollback;
217:            }
218:
219:            /**
220:             * Sets the value of the exceptionOnRollback property.
221:             * 
222:             * @param value
223:             *     allowed object is
224:             *     {@link String }
225:             *     
226:             */
227:            public void setExceptionOnRollback(String value) {
228:                this .exceptionOnRollback = value;
229:            }
230:
231:            /**
232:             * Gets the value of the timerPersistence property.
233:             * 
234:             * @return
235:             *     possible object is
236:             *     {@link String }
237:             *     
238:             */
239:            public String getTimerPersistence() {
240:                return timerPersistence;
241:            }
242:
243:            /**
244:             * Sets the value of the timerPersistence property.
245:             * 
246:             * @param value
247:             *     allowed object is
248:             *     {@link String }
249:             *     
250:             */
251:            public void setTimerPersistence(String value) {
252:                this .timerPersistence = value;
253:            }
254:
255:            /**
256:             * Gets the value of the configurationName property.
257:             * 
258:             * @return
259:             *     possible object is
260:             *     {@link String }
261:             *     
262:             */
263:            public String getConfigurationName() {
264:                return configurationName;
265:            }
266:
267:            /**
268:             * Sets the value of the configurationName property.
269:             * 
270:             * @param value
271:             *     allowed object is
272:             *     {@link String }
273:             *     
274:             */
275:            public void setConfigurationName(String value) {
276:                this .configurationName = value;
277:            }
278:
279:            /**
280:             * Gets the value of the invokerBindings property.
281:             * 
282:             * @return
283:             *     possible object is
284:             *     {@link InvokerBindings }
285:             *     
286:             */
287:            public InvokerBindings getInvokerBindings() {
288:                return invokerBindings;
289:            }
290:
291:            /**
292:             * Sets the value of the invokerBindings property.
293:             * 
294:             * @param value
295:             *     allowed object is
296:             *     {@link InvokerBindings }
297:             *     
298:             */
299:            public void setInvokerBindings(InvokerBindings value) {
300:                this .invokerBindings = value;
301:            }
302:
303:            /**
304:             * Gets the value of the securityProxy property.
305:             * 
306:             * @return
307:             *     possible object is
308:             *     {@link String }
309:             *     
310:             */
311:            public String getSecurityProxy() {
312:                return securityProxy;
313:            }
314:
315:            /**
316:             * Sets the value of the securityProxy property.
317:             * 
318:             * @param value
319:             *     allowed object is
320:             *     {@link String }
321:             *     
322:             */
323:            public void setSecurityProxy(String value) {
324:                this .securityProxy = value;
325:            }
326:
327:            /**
328:             * Gets the value of the ejbRef property.
329:             * 
330:             * <p>
331:             * This accessor method returns a reference to the live list,
332:             * not a snapshot. Therefore any modification you make to the
333:             * returned list will be present inside the JAXB object.
334:             * This is why there is not a <CODE>set</CODE> method for the ejbRef property.
335:             * 
336:             * <p>
337:             * For example, to add a new item, do as follows:
338:             * <pre>
339:             *    getEjbRef().add(newItem);
340:             * </pre>
341:             * 
342:             * 
343:             * <p>
344:             * Objects of the following type(s) are allowed in the list
345:             * {@link EjbRef }
346:             * 
347:             * 
348:             */
349:            public List<EjbRef> getEjbRef() {
350:                if (ejbRef == null) {
351:                    ejbRef = new ArrayList<EjbRef>();
352:                }
353:                return this .ejbRef;
354:            }
355:
356:            /**
357:             * Gets the value of the ejbLocalRef property.
358:             * 
359:             * <p>
360:             * This accessor method returns a reference to the live list,
361:             * not a snapshot. Therefore any modification you make to the
362:             * returned list will be present inside the JAXB object.
363:             * This is why there is not a <CODE>set</CODE> method for the ejbLocalRef property.
364:             * 
365:             * <p>
366:             * For example, to add a new item, do as follows:
367:             * <pre>
368:             *    getEjbLocalRef().add(newItem);
369:             * </pre>
370:             * 
371:             * 
372:             * <p>
373:             * Objects of the following type(s) are allowed in the list
374:             * {@link EjbLocalRef }
375:             * 
376:             * 
377:             */
378:            public List<EjbLocalRef> getEjbLocalRef() {
379:                if (ejbLocalRef == null) {
380:                    ejbLocalRef = new ArrayList<EjbLocalRef>();
381:                }
382:                return this .ejbLocalRef;
383:            }
384:
385:            /**
386:             * Gets the value of the serviceRef property.
387:             * 
388:             * <p>
389:             * This accessor method returns a reference to the live list,
390:             * not a snapshot. Therefore any modification you make to the
391:             * returned list will be present inside the JAXB object.
392:             * This is why there is not a <CODE>set</CODE> method for the serviceRef property.
393:             * 
394:             * <p>
395:             * For example, to add a new item, do as follows:
396:             * <pre>
397:             *    getServiceRef().add(newItem);
398:             * </pre>
399:             * 
400:             * 
401:             * <p>
402:             * Objects of the following type(s) are allowed in the list
403:             * {@link ServiceRef }
404:             * 
405:             * 
406:             */
407:            public List<ServiceRef> getServiceRef() {
408:                if (serviceRef == null) {
409:                    serviceRef = new ArrayList<ServiceRef>();
410:                }
411:                return this .serviceRef;
412:            }
413:
414:            /**
415:             * Gets the value of the securityIdentity property.
416:             * 
417:             * @return
418:             *     possible object is
419:             *     {@link SecurityIdentity }
420:             *     
421:             */
422:            public SecurityIdentity getSecurityIdentity() {
423:                return securityIdentity;
424:            }
425:
426:            /**
427:             * Sets the value of the securityIdentity property.
428:             * 
429:             * @param value
430:             *     allowed object is
431:             *     {@link SecurityIdentity }
432:             *     
433:             */
434:            public void setSecurityIdentity(SecurityIdentity value) {
435:                this .securityIdentity = value;
436:            }
437:
438:            /**
439:             * Gets the value of the resourceRef property.
440:             * 
441:             * <p>
442:             * This accessor method returns a reference to the live list,
443:             * not a snapshot. Therefore any modification you make to the
444:             * returned list will be present inside the JAXB object.
445:             * This is why there is not a <CODE>set</CODE> method for the resourceRef property.
446:             * 
447:             * <p>
448:             * For example, to add a new item, do as follows:
449:             * <pre>
450:             *    getResourceRef().add(newItem);
451:             * </pre>
452:             * 
453:             * 
454:             * <p>
455:             * Objects of the following type(s) are allowed in the list
456:             * {@link ResourceRef }
457:             * 
458:             * 
459:             */
460:            public List<ResourceRef> getResourceRef() {
461:                if (resourceRef == null) {
462:                    resourceRef = new ArrayList<ResourceRef>();
463:                }
464:                return this .resourceRef;
465:            }
466:
467:            /**
468:             * Gets the value of the resourceEnvRef property.
469:             * 
470:             * <p>
471:             * This accessor method returns a reference to the live list,
472:             * not a snapshot. Therefore any modification you make to the
473:             * returned list will be present inside the JAXB object.
474:             * This is why there is not a <CODE>set</CODE> method for the resourceEnvRef property.
475:             * 
476:             * <p>
477:             * For example, to add a new item, do as follows:
478:             * <pre>
479:             *    getResourceEnvRef().add(newItem);
480:             * </pre>
481:             * 
482:             * 
483:             * <p>
484:             * Objects of the following type(s) are allowed in the list
485:             * {@link ResourceEnvRef }
486:             * 
487:             * 
488:             */
489:            public List<ResourceEnvRef> getResourceEnvRef() {
490:                if (resourceEnvRef == null) {
491:                    resourceEnvRef = new ArrayList<ResourceEnvRef>();
492:                }
493:                return this .resourceEnvRef;
494:            }
495:
496:            /**
497:             * Gets the value of the messageDestinationRef property.
498:             * 
499:             * <p>
500:             * This accessor method returns a reference to the live list,
501:             * not a snapshot. Therefore any modification you make to the
502:             * returned list will be present inside the JAXB object.
503:             * This is why there is not a <CODE>set</CODE> method for the messageDestinationRef property.
504:             * 
505:             * <p>
506:             * For example, to add a new item, do as follows:
507:             * <pre>
508:             *    getMessageDestinationRef().add(newItem);
509:             * </pre>
510:             * 
511:             * 
512:             * <p>
513:             * Objects of the following type(s) are allowed in the list
514:             * {@link MessageDestinationRef }
515:             * 
516:             * 
517:             */
518:            public List<MessageDestinationRef> getMessageDestinationRef() {
519:                if (messageDestinationRef == null) {
520:                    messageDestinationRef = new ArrayList<MessageDestinationRef>();
521:                }
522:                return this .messageDestinationRef;
523:            }
524:
525:            /**
526:             * Gets the value of the clustered property.
527:             * 
528:             * @return
529:             *     possible object is
530:             *     {@link String }
531:             *     
532:             */
533:            public String getClustered() {
534:                return clustered;
535:            }
536:
537:            /**
538:             * Sets the value of the clustered property.
539:             * 
540:             * @param value
541:             *     allowed object is
542:             *     {@link String }
543:             *     
544:             */
545:            public void setClustered(String value) {
546:                this .clustered = value;
547:            }
548:
549:            /**
550:             * Gets the value of the clusterConfig property.
551:             * 
552:             * @return
553:             *     possible object is
554:             *     {@link ClusterConfig }
555:             *     
556:             */
557:            public ClusterConfig getClusterConfig() {
558:                return clusterConfig;
559:            }
560:
561:            /**
562:             * Sets the value of the clusterConfig property.
563:             * 
564:             * @param value
565:             *     allowed object is
566:             *     {@link ClusterConfig }
567:             *     
568:             */
569:            public void setClusterConfig(ClusterConfig value) {
570:                this .clusterConfig = value;
571:            }
572:
573:            /**
574:             * Gets the value of the methodAttributes property.
575:             * 
576:             * @return
577:             *     possible object is
578:             *     {@link MethodAttributes }
579:             *     
580:             */
581:            public MethodAttributes getMethodAttributes() {
582:                return methodAttributes;
583:            }
584:
585:            /**
586:             * Sets the value of the methodAttributes property.
587:             * 
588:             * @param value
589:             *     allowed object is
590:             *     {@link MethodAttributes }
591:             *     
592:             */
593:            public void setMethodAttributes(MethodAttributes value) {
594:                this .methodAttributes = value;
595:            }
596:
597:            /**
598:             * Gets the value of the depends property.
599:             * 
600:             * <p>
601:             * This accessor method returns a reference to the live list,
602:             * not a snapshot. Therefore any modification you make to the
603:             * returned list will be present inside the JAXB object.
604:             * This is why there is not a <CODE>set</CODE> method for the depends property.
605:             * 
606:             * <p>
607:             * For example, to add a new item, do as follows:
608:             * <pre>
609:             *    getDepends().add(newItem);
610:             * </pre>
611:             * 
612:             * 
613:             * <p>
614:             * Objects of the following type(s) are allowed in the list
615:             * {@link Depends }
616:             * 
617:             * 
618:             */
619:            public List<Depends> getDepends() {
620:                if (depends == null) {
621:                    depends = new ArrayList<Depends>();
622:                }
623:                return this .depends;
624:            }
625:
626:            /**
627:             * Gets the value of the iorSecurityConfig property.
628:             * 
629:             * @return
630:             *     possible object is
631:             *     {@link IorSecurityConfig }
632:             *     
633:             */
634:            public IorSecurityConfig getIorSecurityConfig() {
635:                return iorSecurityConfig;
636:            }
637:
638:            /**
639:             * Sets the value of the iorSecurityConfig property.
640:             * 
641:             * @param value
642:             *     allowed object is
643:             *     {@link IorSecurityConfig }
644:             *     
645:             */
646:            public void setIorSecurityConfig(IorSecurityConfig value) {
647:                this .iorSecurityConfig = value;
648:            }
649:
650:            /**
651:             * Gets the value of the portComponent property.
652:             * 
653:             * <p>
654:             * This accessor method returns a reference to the live list,
655:             * not a snapshot. Therefore any modification you make to the
656:             * returned list will be present inside the JAXB object.
657:             * This is why there is not a <CODE>set</CODE> method for the portComponent property.
658:             * 
659:             * <p>
660:             * For example, to add a new item, do as follows:
661:             * <pre>
662:             *    getPortComponent().add(newItem);
663:             * </pre>
664:             * 
665:             * 
666:             * <p>
667:             * Objects of the following type(s) are allowed in the list
668:             * {@link PortComponent }
669:             * 
670:             * 
671:             */
672:            public List<PortComponent> getPortComponent() {
673:                if (portComponent == null) {
674:                    portComponent = new ArrayList<PortComponent>();
675:                }
676:                return this .portComponent;
677:            }
678:
679:            /**
680:             * Gets the value of the ejbTimeoutIdentity property.
681:             * 
682:             * @return
683:             *     possible object is
684:             *     {@link EjbTimeoutIdentity }
685:             *     
686:             */
687:            public EjbTimeoutIdentity getEjbTimeoutIdentity() {
688:                return ejbTimeoutIdentity;
689:            }
690:
691:            /**
692:             * Sets the value of the ejbTimeoutIdentity property.
693:             * 
694:             * @param value
695:             *     allowed object is
696:             *     {@link EjbTimeoutIdentity }
697:             *     
698:             */
699:            public void setEjbTimeoutIdentity(EjbTimeoutIdentity value) {
700:                this.ejbTimeoutIdentity = value;
701:            }
702:
703:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.