Class NamespaceUtils
java.lang.Object
org.springframework.ws.server.endpoint.support.NamespaceUtils
Helper class for handling
@Namespace
annotations.- Since:
- 2.0
- Author:
- Arjen Poutsma
-
Method Summary
Modifier and TypeMethodDescriptionstatic NamespaceContext
getNamespaceContext
(Method method) Creates aNamespaceContext
for the specified method, based on@Namespaces
and@Namespace
annotations.
-
Method Details
-
getNamespaceContext
Creates aNamespaceContext
for the specified method, based on@Namespaces
and@Namespace
annotations.This method will search for
@Namespaces
and@Namespace
annotation in the given method, its class, and its package, in reverse order. That is: package-level annotations are overridden by class-level annotations, which again are overridden by method-level annotations.- Parameters:
method
- the method to create the namespace context for- Returns:
- the namespace context
-