Java Doc for AbstractMethodEndpointMapping.java in  » Web-Services » spring-ws-1.0.0 » org » springframework » ws » server » endpoint » mapping » 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 » Web Services » spring ws 1.0.0 » org.springframework.ws.server.endpoint.mapping 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.springframework.ws.server.endpoint.mapping.AbstractEndpointMapping
   org.springframework.ws.server.endpoint.mapping.AbstractMethodEndpointMapping

All known Subclasses:   org.springframework.ws.server.endpoint.mapping.SimpleMethodEndpointMapping,  org.springframework.ws.server.endpoint.mapping.AbstractAnnotationMethodEndpointMapping,
AbstractMethodEndpointMapping
abstract public class AbstractMethodEndpointMapping extends AbstractEndpointMapping (Code)
Abstract base class for MethodEndpoint mappings.

Subclasses typically implement org.springframework.beans.factory.config.BeanPostProcessor to look for beans that qualify as enpoint. The methods of this bean are then registered under a specific key with AbstractMethodEndpointMapping.registerEndpoint(String,MethodEndpoint) .
author:
   Arjen Poutsma
since:
   1.0.0





Method Summary
protected  ClassgetEndpointClass(Object endpoint)
     Return the class or interface to use for method reflection.
protected  ObjectgetEndpointInternal(MessageContext messageContext)
     Lookup an endpoint for the given message.
abstract protected  StringgetLookupKeyForMessage(MessageContext messageContext)
     Returns the the endpoint keys for the given message context.
protected  StringgetLookupKeyForMethod(Method method)
     Returns the the endpoint keys for the given method.
protected  MethodEndpointlookupEndpoint(String key)
     Looks up an endpoint instance for the given keys.
protected  voidregisterEndpoint(String key, MethodEndpoint endpoint)
     Register the given endpoint instance under the key.
protected  voidregisterMethods(Object endpoint)
     Helper method that registers the methods of the given bean.



Method Detail
getEndpointClass
protected Class getEndpointClass(Object endpoint)(Code)
Return the class or interface to use for method reflection.

Default implementation returns the target class for a CGLIB proxy, and the class of the given bean else (for a JDK proxy or a plain bean class).
Parameters:
  endpoint - the bean instance (might be an AOP proxy) the bean class to expose




getEndpointInternal
protected Object getEndpointInternal(MessageContext messageContext) throws Exception(Code)
Lookup an endpoint for the given message. The extraction of the endpoint key is delegated to the concrete subclass. the looked up endpoint, or null
See Also:   AbstractMethodEndpointMapping.getLookupKeyForMessage(MessageContext)



getLookupKeyForMessage
abstract protected String getLookupKeyForMessage(MessageContext messageContext) throws Exception(Code)
Returns the the endpoint keys for the given message context. the registration keys



getLookupKeyForMethod
protected String getLookupKeyForMethod(Method method)(Code)
Returns the the endpoint keys for the given method. Returns null if the method is not to be registered, which is the default.
Parameters:
  method - the method a registration key, or null if the method is not to be registered



lookupEndpoint
protected MethodEndpoint lookupEndpoint(String key)(Code)
Looks up an endpoint instance for the given keys. All keys are tried in order.
Parameters:
  key - key the beans are mapped to the associated endpoint instance, or null if not found



registerEndpoint
protected void registerEndpoint(String key, MethodEndpoint endpoint) throws BeansException(Code)
Register the given endpoint instance under the key.
Parameters:
  key - the lookup key
Parameters:
  endpoint - the method endpoint instance
throws:
  BeansException - if the endpoint could not be registered



registerMethods
protected void registerMethods(Object endpoint)(Code)
Helper method that registers the methods of the given bean. This method iterates over the methods of the bean, and calls AbstractMethodEndpointMapping.getLookupKeyForMethod(Method) for each. If this returns a string, the method is registered using AbstractMethodEndpointMapping.registerEndpoint(String,MethodEndpoint) .
See Also:   AbstractMethodEndpointMapping.getLookupKeyForMethod(Method)



Methods inherited from org.springframework.ws.server.endpoint.mapping.AbstractEndpointMapping
protected EndpointInvocationChain createEndpointInvocationChain(MessageContext messageContext, Object endpoint, EndpointInterceptor[] interceptors)(Code)(Java Doc)
final protected Object getDefaultEndpoint()(Code)(Java Doc)
final public EndpointInvocationChain getEndpoint(MessageContext messageContext) throws Exception(Code)(Java Doc)
abstract protected Object getEndpointInternal(MessageContext messageContext) throws Exception(Code)(Java Doc)
public EndpointInterceptor[] getInterceptors()(Code)(Java Doc)
final public int getOrder()(Code)(Java Doc)
protected Object resolveStringEndpoint(String endpointName)(Code)(Java Doc)
final public void setDefaultEndpoint(Object defaultEndpoint)(Code)(Java Doc)
final public void setInterceptors(EndpointInterceptor[] interceptors)(Code)(Java Doc)
final public void setOrder(int order)(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.