org.apache.geronimo.axis.builder
Class AxisBuilder

java.lang.Object
  extended by org.apache.geronimo.axis.builder.AxisBuilder
All Implemented Interfaces:
WebServiceBuilder

public class AxisBuilder
extends Object
implements WebServiceBuilder


Field Summary
static GBeanInfo GBEAN_INFO
           
 
Constructor Summary
AxisBuilder()
           
AxisBuilder(Environment defaultEnvironment)
           
 
Method Summary
 OperationInfo buildOperationInfoLightweight(Method method, javax.wsdl.BindingOperation bindingOperation, org.apache.axis.constants.Style defaultStyle, org.apache.axis.soap.SOAPConstants soapVersion)
           
 void buildSEIFactoryMap(SchemaInfoBuilder schemaInfoBuilder, org.apache.geronimo.xbeans.geronimo.naming.GerServiceRefType serviceRefType, org.apache.geronimo.xbeans.j2ee.JavaWsdlMappingType mapping, List handlerInfos, QName serviceQName, org.apache.axis.soap.SOAPConstants soapVersion, Map seiPortNameToFactoryMap, Map seiClassNameToFactoryMap, ClassLoader classLoader)
           
 boolean configureEJB(GBeanData targetGBean, String ejbName, Module module, Map sharedContext, ClassLoader classLoader)
          configure the supplied EJBContainer gbeandata to implement the ejb web service described in the deployment descriptor N.B. this method is a complete guess and should be replaced by something useable right away!
 boolean configurePOJO(GBeanData targetGBean, String servletName, Module module, String servletClassName, DeploymentContext context)
          configure the supplied GBeanData to implement the POJO web service described in the deployment descriptor.
 SEIFactory createSEIFactory(QName serviceName, String portName, String enhancedServiceEndpointClassName, List typeInfo, URL location, OperationInfo[] operationInfos, List handlerInfoInfos, String credentialsName)
           
 Object createService(Class serviceInterface, SchemaInfoBuilder schemaInfoBuilder, org.apache.geronimo.xbeans.j2ee.JavaWsdlMappingType mapping, QName serviceQName, org.apache.axis.soap.SOAPConstants soapVersion, List handlerInfos, org.apache.geronimo.xbeans.geronimo.naming.GerServiceRefType serviceRefType, Module module, ClassLoader classloader)
           
 Object createService(Class serviceInterface, URI wsdlURI, URI jaxrpcMappingURI, QName serviceQName, Map portComponentRefMap, List handlerInfos, Object serviceRefType, Module module, ClassLoader classLoader)
           
 void findWebServices(JarFile moduleFile, boolean isEJB, Map servletLocations, Environment environment, Map sharedContext)
           
 void findWebServices(Module module, boolean isEJB, Map servletLocations, Environment environment, Map sharedContext)
          Introspects on the module file to locate web service for deployment.
static GBeanInfo getGBeanInfo()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

GBEAN_INFO

public static final GBeanInfo GBEAN_INFO
Constructor Detail

AxisBuilder

public AxisBuilder()

AxisBuilder

public AxisBuilder(Environment defaultEnvironment)
Method Detail

findWebServices

public void findWebServices(Module module,
                            boolean isEJB,
                            Map servletLocations,
                            Environment environment,
                            Map sharedContext)
                     throws DeploymentException
Description copied from interface: WebServiceBuilder
Introspects on the module file to locate web service for deployment.

Specified by:
findWebServices in interface WebServiceBuilder
isEJB - is this an EJB archive?
servletLocations - mapping between port locations and paths.
sharedContext - map of builder-specific key to map of servlet names to port information, or an empty map if no web services found. Port information is opaque to all except the WebServiceBuilder itself.
Throws:
DeploymentException - if error encountered while introspecting the module.

findWebServices

public void findWebServices(JarFile moduleFile,
                            boolean isEJB,
                            Map servletLocations,
                            Environment environment,
                            Map sharedContext)
                     throws DeploymentException
Throws:
DeploymentException

configurePOJO

public boolean configurePOJO(GBeanData targetGBean,
                             String servletName,
                             Module module,
                             String servletClassName,
                             DeploymentContext context)
                      throws DeploymentException
Description copied from interface: WebServiceBuilder
configure the supplied GBeanData to implement the POJO web service described in the deployment descriptor. The GBeanData will be for a ServletHolder like gbean that is adapted to holding a ws stack that talks to a POJO web service. The web deployer is responsible for filling in the standard servlet info such as init params.

Specified by:
configurePOJO in interface WebServiceBuilder
Returns:
true if this builder configured this pojo
Throws:
DeploymentException

configureEJB

public boolean configureEJB(GBeanData targetGBean,
                            String ejbName,
                            Module module,
                            Map sharedContext,
                            ClassLoader classLoader)
                     throws DeploymentException
Description copied from interface: WebServiceBuilder
configure the supplied EJBContainer gbeandata to implement the ejb web service described in the deployment descriptor N.B. this method is a complete guess and should be replaced by something useable right away!

Specified by:
configureEJB in interface WebServiceBuilder
Throws:
DeploymentException

createService

public Object createService(Class serviceInterface,
                            URI wsdlURI,
                            URI jaxrpcMappingURI,
                            QName serviceQName,
                            Map portComponentRefMap,
                            List handlerInfos,
                            Object serviceRefType,
                            Module module,
                            ClassLoader classLoader)
                     throws DeploymentException
Throws:
DeploymentException

createService

public Object createService(Class serviceInterface,
                            SchemaInfoBuilder schemaInfoBuilder,
                            org.apache.geronimo.xbeans.j2ee.JavaWsdlMappingType mapping,
                            QName serviceQName,
                            org.apache.axis.soap.SOAPConstants soapVersion,
                            List handlerInfos,
                            org.apache.geronimo.xbeans.geronimo.naming.GerServiceRefType serviceRefType,
                            Module module,
                            ClassLoader classloader)
                     throws DeploymentException
Throws:
DeploymentException

buildSEIFactoryMap

public void buildSEIFactoryMap(SchemaInfoBuilder schemaInfoBuilder,
                               org.apache.geronimo.xbeans.geronimo.naming.GerServiceRefType serviceRefType,
                               org.apache.geronimo.xbeans.j2ee.JavaWsdlMappingType mapping,
                               List handlerInfos,
                               QName serviceQName,
                               org.apache.axis.soap.SOAPConstants soapVersion,
                               Map seiPortNameToFactoryMap,
                               Map seiClassNameToFactoryMap,
                               ClassLoader classLoader)
                        throws DeploymentException
Throws:
DeploymentException

createSEIFactory

public SEIFactory createSEIFactory(QName serviceName,
                                   String portName,
                                   String enhancedServiceEndpointClassName,
                                   List typeInfo,
                                   URL location,
                                   OperationInfo[] operationInfos,
                                   List handlerInfoInfos,
                                   String credentialsName)
                            throws DeploymentException
Throws:
DeploymentException

buildOperationInfoLightweight

public OperationInfo buildOperationInfoLightweight(Method method,
                                                   javax.wsdl.BindingOperation bindingOperation,
                                                   org.apache.axis.constants.Style defaultStyle,
                                                   org.apache.axis.soap.SOAPConstants soapVersion)
                                            throws DeploymentException
Throws:
DeploymentException

getGBeanInfo

public static GBeanInfo getGBeanInfo()


Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.