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 Object

Helps when constructing, or using services.


Method Summary
static String getMethodName(Method m)
           
static QName makeQualifiedNameFromClass(Class<?> clazz)
           
static String makeServiceNameFromClassName(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 String makeServiceNameFromClassName(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 QName makeQualifiedNameFromClass(Class<?> clazz)

getMethodName

public static String getMethodName(Method m)

Apache CXF API

Apache CXF