org.springframework.ws.server.endpoint.mapping
Class AbstractAnnotationMethodEndpointMapping
java.lang.Object
org.springframework.context.support.ApplicationObjectSupport
org.springframework.ws.server.endpoint.mapping.AbstractEndpointMapping
org.springframework.ws.server.endpoint.mapping.AbstractMethodEndpointMapping
org.springframework.ws.server.endpoint.mapping.AbstractAnnotationMethodEndpointMapping
- All Implemented Interfaces:
- ApplicationContextAware, Ordered, EndpointMapping
- Direct Known Subclasses:
- PayloadRootAnnotationMethodEndpointMapping, SoapActionAnnotationMethodEndpointMapping
public abstract class AbstractAnnotationMethodEndpointMapping
- extends AbstractMethodEndpointMapping
Abstract base for EndpointMapping
implementations that map classes tagged with
an annotation. By default the annotation is Endpoint
, but this can be overriden in subclasses.
The methods of each bean carrying @Endpoint will be registered using AbstractMethodEndpointMapping.registerMethods(String)
.
- Since:
- 1.0.0
- Author:
- Arjen Poutsma
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractAnnotationMethodEndpointMapping
public AbstractAnnotationMethodEndpointMapping()
setDetectEndpointsInAncestorContexts
public void setDetectEndpointsInAncestorContexts(boolean detectEndpointsInAncestorContexts)
- Set whether to detect endpoint beans in ancestor ApplicationContexts.
Default is "false": Only endpoint beans in the current ApplicationContext will be detected, i.e. only in the
context that this EndpointMapping itself is defined in (typically the current MessageDispatcherServlet's
context).
Switch this flag on to detect endpoint beans in ancestor contexts (typically the Spring root
WebApplicationContext) as well.
getEndpointAnnotationType
protected Class<? extends Annotation> getEndpointAnnotationType()
- Returns the 'endpoint' annotation type. Default is
Endpoint
.
initApplicationContext
protected final void initApplicationContext()
throws BeansException
- Overrides:
initApplicationContext
in class ApplicationObjectSupport
- Throws:
BeansException
Copyright © 2005-2010 The Spring Web Services Framework. All Rights Reserved.