org.ow2.jonas.ws.jaxws.util
Class JAXWSClassUtils

java.lang.Object
  extended by org.ow2.jonas.ws.jaxws.util.JAXWSClassUtils

public class JAXWSClassUtils
extends Object

The JAXWSClassUtils is a utility class used to extract informations from the JAXWS annotations.

Author:
Guillaume Sauthier

Method Summary
static String getServiceName(Class<?> klass)
           
static String getWsdlLocation(Class<?> klass)
           
static boolean isWebService(Class<?> klass)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

isWebService

public static boolean isWebService(Class<?> klass)
Parameters:
klass - class supporting annotations
Returns:
true is the given class support @WebService or @WebServiceProvider

getWsdlLocation

public static String getWsdlLocation(Class<?> klass)
Parameters:
klass - class supporting annotations
Returns:
the 'wsdlLocation' attribute's value (from @WebService or @WebServiceProvider)

getServiceName

public static String getServiceName(Class<?> klass)
Parameters:
klass - class supporting annotations
Returns:
the 'serviceName' attribute's value (from @WebService or @WebServiceProvider)


Copyright © 2010 OW2 Consortium. All Rights Reserved.