org.apache.geronimo.webservices.builder
Class WSDescriptorParser

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

public class WSDescriptorParser
extends java.lang.Object

Version:
$Rev: 1144307 $ $Date: 2011-07-08 21:24:09 +0800 (Fri, 08 Jul 2011) $

Constructor Summary
WSDescriptorParser()
           
 
Method Summary
static java.util.List<javax.xml.rpc.handler.HandlerInfo> createHandlerInfoList(java.util.List<org.apache.openejb.jee.Handler> handlers, org.osgi.framework.Bundle bundle)
           
static java.util.Map<javax.xml.namespace.QName,org.apache.openejb.jee.ExceptionMapping> getExceptionMap(org.apache.openejb.jee.JavaWsdlMapping mapping)
           
static java.lang.Class getHolder(java.lang.String paramJavaTypeName, boolean isInOnly, javax.xml.namespace.QName typeQName, boolean isComplexType, org.apache.openejb.jee.JavaWsdlMapping mapping, org.osgi.framework.Bundle bundle)
           
static java.lang.reflect.Method getMethodForOperation(java.lang.Class serviceEndpointInterface, javax.wsdl.Operation operation)
           
static org.apache.openejb.jee.ServiceEndpointMethodMapping getMethodMappingForOperation(java.lang.String operationName, java.util.List<org.apache.openejb.jee.ServiceEndpointMethodMapping> methodMappings)
           
static java.lang.String getPackageFromNamespace(java.lang.String namespace, org.apache.openejb.jee.JavaWsdlMapping mapping)
           
static javax.wsdl.Service getService(javax.xml.namespace.QName serviceQName, javax.wsdl.Definition definition)
           
static org.apache.openejb.jee.ServiceEndpointInterfaceMapping getServiceEndpointInterfaceMapping(java.util.List<org.apache.openejb.jee.ServiceEndpointInterfaceMapping> endpointMappings, javax.xml.namespace.QName portTypeQName)
           
static java.util.Map<java.lang.String,PortInfo> parseWebServiceDescriptor(java.net.URL wsDDUrl, java.util.jar.JarFile moduleFile, boolean isEJB, java.util.Map servletLocations)
           
static java.util.Map<java.lang.String,PortInfo> parseWebServiceDescriptor(org.apache.openejb.jee.Webservices webservices, java.util.jar.JarFile moduleFile, boolean isEJB, java.util.Map servletLocations)
          Parses a webservice.xml file and returns a map PortInfo instances indexed by the corresponding ejb-link or servlet-link element .
static java.util.Map<java.lang.String,PortInfo> parseWebServiceDescriptor2(org.apache.openejb.jee.Webservices webservices, java.util.jar.JarFile moduleFile, boolean isEJB, java.util.Map servletLocations)
           
static org.apache.openejb.jee.JavaWsdlMapping readJaxrpcMapping(java.util.jar.JarFile moduleFile, java.lang.String jaxrpcMappingPath)
           
static org.apache.openejb.jee.JavaWsdlMapping readJaxrpcMapping(java.util.jar.JarFile moduleFile, java.net.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.openejb.jee.JavaWsdlMapping readJaxrpcMapping(java.util.jar.JarFile moduleFile,
                                                                       java.net.URI jaxrpcMappingURI)
                                                                throws DeploymentException
Throws:
DeploymentException

readJaxrpcMapping

public static org.apache.openejb.jee.JavaWsdlMapping readJaxrpcMapping(java.util.jar.JarFile moduleFile,
                                                                       java.lang.String jaxrpcMappingPath)
                                                                throws DeploymentException
Throws:
DeploymentException

getExceptionMap

public static java.util.Map<javax.xml.namespace.QName,org.apache.openejb.jee.ExceptionMapping> getExceptionMap(org.apache.openejb.jee.JavaWsdlMapping mapping)

getPackageFromNamespace

public static java.lang.String getPackageFromNamespace(java.lang.String namespace,
                                                       org.apache.openejb.jee.JavaWsdlMapping mapping)
                                                throws DeploymentException
Throws:
DeploymentException

getHolder

public static java.lang.Class getHolder(java.lang.String paramJavaTypeName,
                                        boolean isInOnly,
                                        javax.xml.namespace.QName typeQName,
                                        boolean isComplexType,
                                        org.apache.openejb.jee.JavaWsdlMapping mapping,
                                        org.osgi.framework.Bundle bundle)
                                 throws DeploymentException
Throws:
DeploymentException

getMethodMappingForOperation

public static org.apache.openejb.jee.ServiceEndpointMethodMapping getMethodMappingForOperation(java.lang.String operationName,
                                                                                               java.util.List<org.apache.openejb.jee.ServiceEndpointMethodMapping> methodMappings)
                                                                                        throws DeploymentException
Throws:
DeploymentException

getServiceEndpointInterfaceMapping

public static org.apache.openejb.jee.ServiceEndpointInterfaceMapping getServiceEndpointInterfaceMapping(java.util.List<org.apache.openejb.jee.ServiceEndpointInterfaceMapping> endpointMappings,
                                                                                                        javax.xml.namespace.QName portTypeQName)
                                                                                                 throws DeploymentException
Throws:
DeploymentException

getService

public static javax.wsdl.Service getService(javax.xml.namespace.QName serviceQName,
                                            javax.wsdl.Definition definition)
                                     throws DeploymentException
Throws:
DeploymentException

getMethodForOperation

public static java.lang.reflect.Method getMethodForOperation(java.lang.Class serviceEndpointInterface,
                                                             javax.wsdl.Operation operation)
                                                      throws DeploymentException
Throws:
DeploymentException

parseWebServiceDescriptor

public static java.util.Map<java.lang.String,PortInfo> parseWebServiceDescriptor(org.apache.openejb.jee.Webservices webservices,
                                                                                 java.util.jar.JarFile moduleFile,
                                                                                 boolean isEJB,
                                                                                 java.util.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:
webservices -
moduleFile -
isEJB -
servletLocations -
Returns:
Throws:
DeploymentException

parseWebServiceDescriptor2

public static java.util.Map<java.lang.String,PortInfo> parseWebServiceDescriptor2(org.apache.openejb.jee.Webservices webservices,
                                                                                  java.util.jar.JarFile moduleFile,
                                                                                  boolean isEJB,
                                                                                  java.util.Map servletLocations)
                                                                           throws DeploymentException
Throws:
DeploymentException

parseWebServiceDescriptor

public static java.util.Map<java.lang.String,PortInfo> parseWebServiceDescriptor(java.net.URL wsDDUrl,
                                                                                 java.util.jar.JarFile moduleFile,
                                                                                 boolean isEJB,
                                                                                 java.util.Map servletLocations)
                                                                          throws DeploymentException
Throws:
DeploymentException

createHandlerInfoList

public static java.util.List<javax.xml.rpc.handler.HandlerInfo> createHandlerInfoList(java.util.List<org.apache.openejb.jee.Handler> handlers,
                                                                                      org.osgi.framework.Bundle bundle)
                                                                               throws DeploymentException
Throws:
DeploymentException


Copyright © 2003-2012 The Apache Geronimo development community. All Rights Reserved.