org.springframework.ws.server.endpoint.support
Class NamespaceUtils
java.lang.Object
org.springframework.ws.server.endpoint.support.NamespaceUtils
public abstract class NamespaceUtils
- extends Object
Helper class for handling @Namespace
annotations.
- Since:
- 2.0
- Author:
- Arjen Poutsma
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getNamespaceContext
public static NamespaceContext getNamespaceContext(Method method)
- Creates a
NamespaceContext
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
Copyright © 2005-2013 The Spring Web Services Framework. All Rights Reserved.