Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.codehaus.xfire.util
Class ServiceUtils

    java.lang.Object
      org.codehaus.xfire.util.ServiceUtils

    public class ServiceUtils

extends java.lang.Object

Helps when constructing, or using services.

Author:
  Arjen Poutsma

Method Summary
`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)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2004-2005 Codehaus. All Rights Reserved.