org.apache.geronimo.webservices.builder
Class WSDescriptorParser

java.lang.Object
  extended by org.apache.geronimo.webservices.builder.WSDescriptorParser

public class WSDescriptorParser
extends Object


Constructor Summary
WSDescriptorParser()
           
 
Method Summary
static List createHandlerInfoList(org.apache.geronimo.xbeans.j2ee.PortComponentHandlerType[] handlers, ClassLoader classLoader)
           
static Map 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 parseWebServiceDescriptor(URL wsDDUrl, JarFile moduleFile, boolean isEJB, Map servletLocations)
           
static Map 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 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
 

Constructor Detail

WSDescriptorParser

public WSDescriptorParser()
Method Detail

readJaxrpcMapping

public static org.apache.geronimo.xbeans.j2ee.JavaWsdlMappingType readJaxrpcMapping(JarFile moduleFile,
                                                                                    URI jaxrpcMappingURI)
                                                                             throws org.apache.geronimo.common.DeploymentException
Throws:
org.apache.geronimo.common.DeploymentException

readJaxrpcMapping

public static org.apache.geronimo.xbeans.j2ee.JavaWsdlMappingType readJaxrpcMapping(JarFile moduleFile,
                                                                                    String jaxrpcMappingPath)
                                                                             throws org.apache.geronimo.common.DeploymentException
Throws:
org.apache.geronimo.common.DeploymentException

getExceptionMap

public static Map getExceptionMap(org.apache.geronimo.xbeans.j2ee.JavaWsdlMappingType mapping)

getPackageFromNamespace

public static String getPackageFromNamespace(String namespace,
                                             org.apache.geronimo.xbeans.j2ee.JavaWsdlMappingType mapping)
                                      throws org.apache.geronimo.common.DeploymentException
Throws:
org.apache.geronimo.common.DeploymentException

getHolderType

public static Class getHolderType(String paramJavaTypeName,
                                  boolean isInOnly,
                                  QName typeQName,
                                  boolean isComplexType,
                                  org.apache.geronimo.xbeans.j2ee.JavaWsdlMappingType mapping,
                                  ClassLoader classLoader)
                           throws org.apache.geronimo.common.DeploymentException
Throws:
org.apache.geronimo.common.DeploymentException

getMethodMappingForOperation

public static org.apache.geronimo.xbeans.j2ee.ServiceEndpointMethodMappingType getMethodMappingForOperation(String operationName,
                                                                                                            org.apache.geronimo.xbeans.j2ee.ServiceEndpointMethodMappingType[] methodMappings)
                                                                                                     throws org.apache.geronimo.common.DeploymentException
Throws:
org.apache.geronimo.common.DeploymentException

getServiceEndpointInterfaceMapping

public static org.apache.geronimo.xbeans.j2ee.ServiceEndpointInterfaceMappingType getServiceEndpointInterfaceMapping(org.apache.geronimo.xbeans.j2ee.ServiceEndpointInterfaceMappingType[] endpointMappings,
                                                                                                                     QName portTypeQName)
                                                                                                              throws org.apache.geronimo.common.DeploymentException
Throws:
org.apache.geronimo.common.DeploymentException

getService

public static javax.wsdl.Service getService(QName serviceQName,
                                            javax.wsdl.Definition definition)
                                     throws org.apache.geronimo.common.DeploymentException
Throws:
org.apache.geronimo.common.DeploymentException

getMethodForOperation

public static Method getMethodForOperation(Class serviceEndpointInterface,
                                           javax.wsdl.Operation operation)
                                    throws org.apache.geronimo.common.DeploymentException
Throws:
org.apache.geronimo.common.DeploymentException

parseWebServiceDescriptor

public static Map parseWebServiceDescriptor(org.apache.geronimo.xbeans.j2ee.WebservicesType webservicesType,
                                            JarFile moduleFile,
                                            boolean isEJB,
                                            Map servletLocations)
                                     throws org.apache.geronimo.common.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:
org.apache.geronimo.common.DeploymentException

parseWebServiceDescriptor

public static Map parseWebServiceDescriptor(URL wsDDUrl,
                                            JarFile moduleFile,
                                            boolean isEJB,
                                            Map servletLocations)
                                     throws org.apache.geronimo.common.DeploymentException
Throws:
org.apache.geronimo.common.DeploymentException

createHandlerInfoList

public static List createHandlerInfoList(org.apache.geronimo.xbeans.j2ee.PortComponentHandlerType[] handlers,
                                         ClassLoader classLoader)
                                  throws org.apache.geronimo.common.DeploymentException
Throws:
org.apache.geronimo.common.DeploymentException


Copyright © 2006 Apache Software Foundation. All Rights Reserved.