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 NamespaceContextgetNamespaceContext(Method method) Creates aNamespaceContextfor the specified method, based on@Namespacesand@Namespaceannotations.
-
Method Details
-
getNamespaceContext
Creates aNamespaceContextfor the specified method, based on@Namespacesand@Namespaceannotations.This method will search for
@Namespacesand@Namespaceannotation 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
-