Source Code Cross Referenced for WebServiceRef.java in  » 6.0-JDK-Modules » jax-ws-api » javax » xml » ws » 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 » 6.0 JDK Modules » jax ws api » javax.xml.ws 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


01:        /*
02:         * Copyright 2007 Sun Microsystems, Inc. All rights reserved.
03:         * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
04:         */
05:
06:        package javax.xml.ws;
07:
08:        import java.lang.annotation.Documented;
09:        import java.lang.annotation.Target;
10:        import java.lang.annotation.ElementType;
11:        import java.lang.annotation.Retention;
12:        import java.lang.annotation.RetentionPolicy;
13:
14:        /**
15:         *  The <code>WebServiceRef</code> annotation is used to
16:         *  define a reference to a web service and
17:         *  (optionally) an injection target for it.
18:         *
19:         *  Web service references are resources in the Java EE 5 sense.
20:         * 
21:         *  @see javax.annotation.Resource
22:         *
23:         *  @since JAX-WS 2.0
24:         *
25:         **/
26:
27:        @Target({ElementType.TYPE,ElementType.METHOD,ElementType.FIELD})
28:        @Retention(RetentionPolicy.RUNTIME)
29:        @Documented
30:        public @interface WebServiceRef {
31:            /**
32:             * The JNDI name of the resource.  For field annotations,
33:             * the default is the field name.  For method annotations,
34:             * the default is the JavaBeans property name corresponding
35:             * to the method.  For class annotations, there is no default
36:             * and this MUST be specified.
37:             */
38:            String name() default "";
39:
40:            /**
41:             * The Java type of the resource.  For field annotations,
42:             * the default is the type of the field.  For method annotations,
43:             * the default is the type of the JavaBeans property.
44:             * For class annotations, there is no default and this MUST be
45:             * specified.
46:             */
47:            Class type() default Object.class;
48:
49:            /**
50:             * A product specific name that this resource should be mapped to.
51:             * The name of this resource, as defined by the <code>name</code>
52:             * element or defaulted, is a name that is local to the application
53:             * component using the resource.  (It's a name in the JNDI
54:             * <code>java:comp/env</code> namespace.)  Many application servers
55:             * provide a way to map these local names to names of resources
56:             * known to the application server.  This mapped name is often a
57:             * <i>global</i> JNDI name, but may be a name of any form. <p>
58:             *
59:             * Application servers are not required to support any particular
60:             * form or type of mapped name, nor the ability to use mapped names.
61:             * The mapped name is product-dependent and often installation-dependent.
62:             * No use of a mapped name is portable.
63:             */
64:            String mappedName() default "";
65:
66:            /**
67:             * The service class, always a type extending
68:             * <code>javax.xml.ws.Service</code>. This element MUST be specified
69:             * whenever the type of the reference is a service endpoint interface.
70:             */
71:            Class value() default Object.class;
72:
73:            /**
74:             * A URL pointing to the WSDL document for the web service.
75:             * If not specified, the WSDL location specified by annotations
76:             * on the resource type is used instead.
77:             */
78:            String wsdlLocation() default "";
79:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.