org.apache.geronimo.webservices.builder
Class WSDescriptorParser
java.lang.Object
org.apache.geronimo.webservices.builder.WSDescriptorParser
public class WSDescriptorParser
- extends Object
Method Summary |
static List<HandlerInfo> |
createHandlerInfoList(org.apache.geronimo.xbeans.j2ee.PortComponentHandlerType[] handlers,
ClassLoader classLoader)
|
static Map<QName,org.apache.geronimo.xbeans.j2ee.ExceptionMappingType> |
getExceptionMap(org.apache.geronimo.xbeans.j2ee.JavaWsdlMappingType mapping)
|
static Class |
getHolderType(String paramJavaTypeName,
boolean isInOnly,
QName typeQName,
boolean isComplexType,
org.apache.geronimo.xbeans.j2ee.JavaWsdlMappingType mapping,
ClassLoader classLoader)
|
static Method |
getMethodForOperation(Class serviceEndpointInterface,
javax.wsdl.Operation operation)
|
static org.apache.geronimo.xbeans.j2ee.ServiceEndpointMethodMappingType |
getMethodMappingForOperation(String operationName,
org.apache.geronimo.xbeans.j2ee.ServiceEndpointMethodMappingType[] methodMappings)
|
static String |
getPackageFromNamespace(String namespace,
org.apache.geronimo.xbeans.j2ee.JavaWsdlMappingType mapping)
|
static javax.wsdl.Service |
getService(QName serviceQName,
javax.wsdl.Definition definition)
|
static org.apache.geronimo.xbeans.j2ee.ServiceEndpointInterfaceMappingType |
getServiceEndpointInterfaceMapping(org.apache.geronimo.xbeans.j2ee.ServiceEndpointInterfaceMappingType[] endpointMappings,
QName portTypeQName)
|
static Map<String,PortInfo> |
parseWebServiceDescriptor(URL wsDDUrl,
JarFile moduleFile,
boolean isEJB,
Map servletLocations)
|
static Map<String,PortInfo> |
parseWebServiceDescriptor(org.apache.geronimo.xbeans.j2ee.WebservicesType webservicesType,
JarFile moduleFile,
boolean isEJB,
Map servletLocations)
Parses a webservice.xml file and returns a map PortInfo instances indexed by the
corresponding ejb-link or servlet-link element . |
static Map<String,PortInfo> |
parseWebServiceDescriptor(org.apache.geronimo.xbeans.javaee.WebservicesType webservicesType,
JarFile moduleFile,
boolean isEJB,
Map servletLocations)
|
static org.apache.geronimo.xbeans.j2ee.JavaWsdlMappingType |
readJaxrpcMapping(JarFile moduleFile,
String jaxrpcMappingPath)
|
static org.apache.geronimo.xbeans.j2ee.JavaWsdlMappingType |
readJaxrpcMapping(JarFile moduleFile,
URI jaxrpcMappingURI)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WSDescriptorParser
public WSDescriptorParser()
readJaxrpcMapping
public static org.apache.geronimo.xbeans.j2ee.JavaWsdlMappingType readJaxrpcMapping(JarFile moduleFile,
URI jaxrpcMappingURI)
throws DeploymentException
- Throws:
DeploymentException
readJaxrpcMapping
public static org.apache.geronimo.xbeans.j2ee.JavaWsdlMappingType readJaxrpcMapping(JarFile moduleFile,
String jaxrpcMappingPath)
throws DeploymentException
- Throws:
DeploymentException
getExceptionMap
public static Map<QName,org.apache.geronimo.xbeans.j2ee.ExceptionMappingType> getExceptionMap(org.apache.geronimo.xbeans.j2ee.JavaWsdlMappingType mapping)
getPackageFromNamespace
public static String getPackageFromNamespace(String namespace,
org.apache.geronimo.xbeans.j2ee.JavaWsdlMappingType mapping)
throws DeploymentException
- Throws:
DeploymentException
getHolderType
public static Class getHolderType(String paramJavaTypeName,
boolean isInOnly,
QName typeQName,
boolean isComplexType,
org.apache.geronimo.xbeans.j2ee.JavaWsdlMappingType mapping,
ClassLoader classLoader)
throws DeploymentException
- Throws:
DeploymentException
getMethodMappingForOperation
public static org.apache.geronimo.xbeans.j2ee.ServiceEndpointMethodMappingType getMethodMappingForOperation(String operationName,
org.apache.geronimo.xbeans.j2ee.ServiceEndpointMethodMappingType[] methodMappings)
throws DeploymentException
- Throws:
DeploymentException
getServiceEndpointInterfaceMapping
public static org.apache.geronimo.xbeans.j2ee.ServiceEndpointInterfaceMappingType getServiceEndpointInterfaceMapping(org.apache.geronimo.xbeans.j2ee.ServiceEndpointInterfaceMappingType[] endpointMappings,
QName portTypeQName)
throws DeploymentException
- Throws:
DeploymentException
getService
public static javax.wsdl.Service getService(QName serviceQName,
javax.wsdl.Definition definition)
throws DeploymentException
- Throws:
DeploymentException
getMethodForOperation
public static Method getMethodForOperation(Class serviceEndpointInterface,
javax.wsdl.Operation operation)
throws DeploymentException
- Throws:
DeploymentException
parseWebServiceDescriptor
public static Map<String,PortInfo> parseWebServiceDescriptor(org.apache.geronimo.xbeans.j2ee.WebservicesType webservicesType,
JarFile moduleFile,
boolean isEJB,
Map servletLocations)
throws DeploymentException
- Parses a webservice.xml file and returns a map PortInfo instances indexed by the
corresponding ejb-link or servlet-link element .
- Parameters:
webservicesType
- moduleFile
- isEJB
- servletLocations
-
- Returns:
-
- Throws:
DeploymentException
parseWebServiceDescriptor
public static Map<String,PortInfo> parseWebServiceDescriptor(org.apache.geronimo.xbeans.javaee.WebservicesType webservicesType,
JarFile moduleFile,
boolean isEJB,
Map servletLocations)
throws DeploymentException
- Throws:
DeploymentException
parseWebServiceDescriptor
public static Map<String,PortInfo> parseWebServiceDescriptor(URL wsDDUrl,
JarFile moduleFile,
boolean isEJB,
Map servletLocations)
throws DeploymentException
- Throws:
DeploymentException
createHandlerInfoList
public static List<HandlerInfo> createHandlerInfoList(org.apache.geronimo.xbeans.j2ee.PortComponentHandlerType[] handlers,
ClassLoader classLoader)
throws DeploymentException
- Throws:
DeploymentException
Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.