public class GenericContextDomEndpoint extends Object implements ContextPayloadEndpoint, org.springframework.beans.factory.InitializingBean
| Constructor and Description |
|---|
GenericContextDomEndpoint() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
Enumeration<String> |
getRegisteredContextPaths() |
Source |
invoke(org.springframework.ws.context.MessageContext messageContext)
Implementation of the invoke message that gets the MessageContext.
|
Source |
invoke(Source request)
Empty method included here to be compliant with the PayloadEndpoint.
|
void |
registerRequestResponder(String contextPath,
RequestResponder responder)
Enables to register a responder under the specified context path
|
void |
unregisterRequestResponder(String contextPath)
Unregisters the responder from the specified context path
|
public Source invoke(org.springframework.ws.context.MessageContext messageContext)
invoke in interface ContextPayloadEndpointmessageContext - the context of the message containing the request and (possible response)null to indicate no responsepublic void registerRequestResponder(String contextPath, RequestResponder responder) throws ServiceRegistrationException
contextPath - to be used by the responderresponder - request responderServiceRegistrationException - thrown if error occurs, for example path is already takenpublic void unregisterRequestResponder(String contextPath) throws ServiceRegistrationException
contextPath - context path from which the responder should be removedServiceRegistrationException - thrown if error occurs, for example no service under the specified pathpublic Enumeration<String> getRegisteredContextPaths()
public void afterPropertiesSet()
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanpublic Source invoke(Source request) throws Exception
invoke in interface org.springframework.ws.server.endpoint.PayloadEndpointExceptionCopyright © 2012-2018. All Rights Reserved.