Apache CXF API

org.apache.cxf.aegis.util
Class ServiceUtils

java.lang.Object
  extended by org.apache.cxf.aegis.util.ServiceUtils

public final class ServiceUtils
extends java.lang.Object

Helps when constructing, or using services.

Author:
Arjen Poutsma

Method Summary
static java.lang.String getMethodName(java.lang.reflect.Method m)
           
static javax.xml.namespace.QName makeQualifiedNameFromClass(java.lang.Class clazz)
           
static java.lang.String makeServiceNameFromClassName(java.lang.Class clazz)
          Generates a suitable service name from a given class.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

makeServiceNameFromClassName

public static java.lang.String makeServiceNameFromClassName(java.lang.Class clazz)
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.
Returns:
the name.

makeQualifiedNameFromClass

public static javax.xml.namespace.QName makeQualifiedNameFromClass(java.lang.Class clazz)

getMethodName

public static java.lang.String getMethodName(java.lang.reflect.Method m)

Apache CXF API

Apache CXF is an effort undergoing incubation at the Apache Software Foundation(ASF) and sponsored by the Apache Incubator PMC.