Source Code Cross Referenced for WebServiceInfo.java in  » Net » Coadunation_1.0.1 » com » rift » coad » lib » deployment » 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 » Net » Coadunation_1.0.1 » com.rift.coad.lib.deployment 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        /*
002:         * CoadunationLib: The coaduntion implementation library.
003:         * Copyright (C) 2006  Rift IT Contracting
004:         * 
005:         * This library is free software; you can redistribute it and/or
006:         * modify it under the terms of the GNU Lesser General Public
007:         * License as published by the Free Software Foundation; either
008:         * version 2.1 of the License, or (at your option) any later version.
009:         * 
010:         * This library is distributed in the hope that it will be useful,
011:         * but WITHOUT ANY WARRANTY; without even the implied warranty of
012:         * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
013:         * Lesser General Public License for more details.
014:         * 
015:         * You should have received a copy of the GNU Lesser General Public
016:         * License along with this library; if not, write to the Free Software
017:         * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
018:         *
019:         * XMLConfigurationException.java
020:         *
021:         * WebServiceInfo.java
022:         *
023:         * The class containing the web service information
024:         */
025:
026:        // package imports
027:        package com.rift.coad.lib.deployment;
028:
029:        // java imports
030:        import java.util.Vector;
031:
032:        /**
033:         * This class contains web service information
034:         *
035:         * @author Brett Chaldecott
036:         */
037:        public class WebServiceInfo {
038:
039:            // member variables
040:            private String path = null;
041:            private String className = null;
042:            private String wsdlPath = null;
043:            private String role = null;
044:            private boolean transaction = false;
045:            private Vector extraClassNames = new Vector();
046:
047:            /** 
048:             * Creates a new instance of WebServiceInfo 
049:             */
050:            public WebServiceInfo() {
051:            }
052:
053:            /**
054:             * The getter method for the path.
055:             *
056:             * @return The string containing the path information.
057:             */
058:            public String getPath() {
059:                return path;
060:            }
061:
062:            /**
063:             * This method will set the path information for the web service.
064:             *
065:             * @param path The path the web service will be available on.
066:             */
067:            public void setPath(String path) {
068:                this .path = path;
069:            }
070:
071:            /**
072:             * This getter method for the class name.
073:             *
074:             * @return The class name.
075:             */
076:            public String getClassName() {
077:                return className;
078:            }
079:
080:            /**
081:             * The method responsible for setting the class name.
082:             *
083:             * @param className The name of the class to set.
084:             */
085:            public void setClassName(String className) {
086:                this .className = className;
087:            }
088:
089:            /**
090:             * This method will return the path to the WSDL file
091:             *
092:             * @return The string containing the wsdl path.
093:             */
094:            public String getWSDLPath() {
095:                return wsdlPath;
096:            }
097:
098:            /**
099:             * The method responsible for setting the path to the WSDL file.
100:             *
101:             * @param WSDLPath The name of the target to set.
102:             */
103:            public void setWSDLPath(String wsdlPath) {
104:                this .wsdlPath = wsdlPath;
105:            }
106:
107:            /**
108:             * The role information
109:             *
110:             * @return The name of the role for this web service.
111:             */
112:            public String getRole() {
113:                return role;
114:            }
115:
116:            /**
117:             * This method sets the role information.
118:             *
119:             * @param role The role that the web service will run as.
120:             */
121:            public void setRole(String role) {
122:                this .role = role;
123:            }
124:
125:            /**
126:             * This method returns true if the container must control the transaction.
127:             *
128:             * @return TRUE if it must control the transaction.
129:             */
130:            public boolean getTransaction() {
131:                return transaction;
132:            }
133:
134:            /**
135:             * This method sets the transaction
136:             *
137:             * @param TRUE if this container must control the transaction.
138:             */
139:            public void setTransaction(boolean transaction) {
140:                this .transaction = transaction;
141:            }
142:
143:            /**
144:             * This method will return true if all values have been correctly initialized
145:             *
146:             * @return TRUE if all values have been initialized.
147:             */
148:            public boolean isInitialized() {
149:                if ((this .className != null) && (this .path != null)
150:                        && (this .role != null) && (this .wsdlPath != null)) {
151:                    return true;
152:                }
153:                return false;
154:            }
155:
156:            /**
157:             * This method adds to the classes list.
158:             *
159:             * @param className The class name to add to the list.
160:             */
161:            public void addToClasses(String className) {
162:                extraClassNames.add(className);
163:            }
164:
165:            /**
166:             * This method returns the list of class names for this web service.
167:             *
168:             * @return The list of classes.
169:             */
170:            public Vector getClasses() {
171:                return extraClassNames;
172:            }
173:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.