Source Code Cross Referenced for JMSAddress.java in  » ESB » celtix-1.0 » org » objectweb » celtix » tools » extensions » jms » 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 » ESB » celtix 1.0 » org.objectweb.celtix.tools.extensions.jms 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        package org.objectweb.celtix.tools.extensions.jms;
002:
003:        import java.io.*;
004:        import javax.wsdl.extensions.ExtensibilityElement;
005:        import javax.xml.namespace.QName;
006:        import org.w3c.dom.*;
007:
008:        public class JMSAddress implements  ExtensibilityElement, Serializable {
009:            // private String address;
010:            private String address;
011:            private Element element;
012:            private boolean required;
013:            private QName elementType;
014:            private String documentBaseURI;
015:
016:            // attributes used by jms:address element
017:            private String destinationStyle = "queue";
018:            private String initialContextFactory = "org.activemq.jndi.ActiveMQInitialContextFactory";
019:            private String jndiConnectionFactoryName = "ConnectionFactory";
020:            private String messageType = "text";
021:
022:            private String jndiProviderURL;
023:            private String jndiDestinationName;
024:            private String durableSubscriberName;
025:            private boolean useMessageIDAsCorrelationID = true;
026:
027:            public void setDocumentBaseURI(String baseURI) {
028:                this .documentBaseURI = baseURI;
029:            }
030:
031:            public String getDocumentBaseURI() {
032:                return this .documentBaseURI;
033:            }
034:
035:            public void setElement(Element elem) {
036:                this .element = elem;
037:            }
038:
039:            public Element getElement() {
040:                return element;
041:            }
042:
043:            public void setRequired(Boolean r) {
044:                this .required = r;
045:            }
046:
047:            public Boolean getRequired() {
048:                return required;
049:            }
050:
051:            public void setElementType(QName elemType) {
052:                this .elementType = elemType;
053:            }
054:
055:            public QName getElementType() {
056:                return elementType;
057:            }
058:
059:            public void setJndiProviderURL(String url) {
060:                this .jndiProviderURL = url;
061:            }
062:
063:            public String getJndiProviderURL() {
064:                return this .jndiProviderURL;
065:            }
066:
067:            public String getDestinationStyle() {
068:                return destinationStyle;
069:            }
070:
071:            public String getDurableSubscriberName() {
072:                return durableSubscriberName;
073:            }
074:
075:            public void setDurableSubscriberName(String newDurableSubscriberName) {
076:                durableSubscriberName = newDurableSubscriberName;
077:            }
078:
079:            public String getInitialContextFactory() {
080:                return initialContextFactory;
081:            }
082:
083:            public void setInitialContextFactory(String newInitContextFactory) {
084:                initialContextFactory = newInitContextFactory;
085:            }
086:
087:            public String getJndiConnectionFactoryName() {
088:                return jndiConnectionFactoryName;
089:            }
090:
091:            public void setJndiConnectionFactoryName(
092:                    String newJndiConnectionFactoryName) {
093:                jndiConnectionFactoryName = newJndiConnectionFactoryName;
094:            }
095:
096:            public String getJndiDestinationName() {
097:                return jndiDestinationName;
098:            }
099:
100:            public void setJndiDestinationName(String newJndiDestinationName) {
101:                jndiDestinationName = newJndiDestinationName;
102:            }
103:
104:            public String getMessageType() {
105:                return messageType;
106:            }
107:
108:            public void setMessageType(String newMessageType) {
109:                messageType = newMessageType;
110:            }
111:
112:            public boolean isUseMessageIDAsCorrelationID() {
113:                return useMessageIDAsCorrelationID;
114:            }
115:
116:            public void setUseMessageIDAsCorrelationID(
117:                    boolean newUseMessageIDAsCorrelationID) {
118:                useMessageIDAsCorrelationID = newUseMessageIDAsCorrelationID;
119:            }
120:
121:            public void setDestinationStyle(String newDestinationStyle) {
122:                destinationStyle = newDestinationStyle;
123:            }
124:
125:            public String getAddress() {
126:                return address;
127:            }
128:
129:            public void setAddress(String newAddress) {
130:                address = newAddress;
131:            }
132:
133:            public String getAttrXMLString() {
134:                StringBuffer sb = new StringBuffer(300);
135:                if (destinationStyle != null) {
136:                    sb.append("destinationStyle=\"" + destinationStyle + "\" ");
137:                }
138:                if (initialContextFactory != null) {
139:                    sb.append("initialContextFactory=\""
140:                            + initialContextFactory + "\" ");
141:                }
142:                if (jndiConnectionFactoryName != null) {
143:                    sb.append("jndiConnectionFactoryName=\""
144:                            + jndiConnectionFactoryName + "\" ");
145:                }
146:                if (messageType != null) {
147:                    sb.append("messageType=\"" + messageType + "\" ");
148:                }
149:                if (jndiProviderURL != null) {
150:                    sb.append("jndiProviderURL=\"" + jndiProviderURL + "\" ");
151:                }
152:                if (jndiDestinationName != null) {
153:                    sb.append("jndiDestinationName=\"" + jndiDestinationName
154:                            + "\" ");
155:                }
156:                if (durableSubscriberName != null) {
157:                    sb.append("durableSubscriberName=\""
158:                            + durableSubscriberName + "\" ");
159:                }
160:                sb.append("useMessageIDAsCorrelationID=\""
161:                        + String.valueOf(useMessageIDAsCorrelationID) + "\" ");
162:
163:                return sb.toString();
164:            }
165:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.