public abstract class AbstractAnnotationMethodEndpointMapping<T> extends AbstractMethodEndpointMapping<T>
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).| Constructor and Description |
|---|
AbstractAnnotationMethodEndpointMapping() |
| Modifier and Type | Method and Description |
|---|---|
protected Class<? extends Annotation> |
getEndpointAnnotationType()
Returns the 'endpoint' annotation type.
|
protected void |
initApplicationContext()
Initializes the interceptors.
|
void |
setDetectEndpointsInAncestorContexts(boolean detectEndpointsInAncestorContexts)
Set whether to detect endpoint beans in ancestor ApplicationContexts.
|
getEndpointClass, getEndpointInternal, getLookupKeyForMessage, getLookupKeyForMethod, lookupEndpoint, registerEndpoint, registerMethods, registerMethodscreateEndpointInvocationChain, getDefaultEndpoint, getEndpoint, getInterceptors, getOrder, initInterceptors, resolveStringEndpoint, setDefaultEndpoint, setInterceptors, setOrderpublic AbstractAnnotationMethodEndpointMapping()
public void setDetectEndpointsInAncestorContexts(boolean detectEndpointsInAncestorContexts)
protected Class<? extends Annotation> getEndpointAnnotationType()
Endpoint.protected void initApplicationContext()
throws org.springframework.beans.BeansException
AbstractEndpointMappinginitApplicationContext in class AbstractEndpointMappingorg.springframework.beans.BeansExceptionAbstractEndpointMapping.initInterceptors()Copyright © 2005–2015 The Spring Web Services Framework. All rights reserved.