| java.lang.Object org.apache.cxf.helpers.ServiceUtils
ServiceUtils | final public class ServiceUtils (Code) | | |
makeNamespaceFromClassName | public static String makeNamespaceFromClassName(String className, String protocol)(Code) | | Generates the name of a XML namespace from a given class name and
protocol. The returned namespace will take the form
protocol://domain , where protocol is the
given protocol, and domain the inversed package name of
the given class name. For instance, if the given class name is
org.codehaus.xfire.services.Echo , and the protocol is
http , the resulting namespace would be
http://services.xfire.codehaus.org .
Parameters: className - the class name Parameters: protocol - the protocol (eg. http ) the namespace |
makePackageName | public static String makePackageName(String namespace)(Code) | | Method makePackageName
Parameters: namespace - |
makeQualifiedNameFromClass | public static QName makeQualifiedNameFromClass(Class> clazz)(Code) | | |
makeServiceNameFromClassName | public static String makeServiceNameFromClassName(Class> clazz)(Code) | | Generates a suitable service name from a given class. The returned name
is the simple name of the class, i.e. without the package name.
Parameters: clazz - the class. the name. |
|
|