Package org.apache.geronimo.axis2

Examples of org.apache.geronimo.axis2.Axis2SystemInitializer


        } catch (Exception e) {
            log.warn("Failed to deserialize handler chains", e);
        }
        JAXWSAnnotationProcessor annotationProcessor =
                new JAXWSAnnotationProcessor(new JNDIResolver(), new WebServiceContextImpl());
        Axis2HandlerResolver handlerResolver =
                new Axis2HandlerResolver(classLoader, serviceClass, types, annotationProcessor);
        return handlerResolver;
    }
View Full Code Here


     * performs injection.
     */
    protected void configureHandlers() throws Exception {
        String xml = this.portInfo.getHandlersAsXML();
        HandlerChainsType handlerChains = xml == null ? null : HandlerChainsDocument.Factory.parse(xml).getHandlerChains();
        Axis2HandlerResolver handlerResolver =
            new Axis2HandlerResolver(endpointInstance.getClass().getClassLoader(),
                                   endpointInstance.getClass(),
                                   handlerChains,
                                   this.annotationProcessor);


        // TODO: pass non-null PortInfo to get the right handlers
        chain = handlerResolver.getHandlerChain(null);
    }
View Full Code Here

    }

    protected HandlerResolver getHandlerResolver(Class serviceClass) {
        JAXWSAnnotationProcessor annotationProcessor =
                new JAXWSAnnotationProcessor(new JNDIResolver(), new WebServiceContextImpl());
        Axis2HandlerResolver handlerResolver =
                new Axis2HandlerResolver(classLoader, serviceClass, getHandlerChains(), annotationProcessor);
        return handlerResolver;
    }
View Full Code Here

        } catch (Exception e) {
            LOG.warn("Failed to deserialize handler chains", e);
        }
        JAXWSAnnotationProcessor annotationProcessor =
                new JAXWSAnnotationProcessor(new JNDIResolver(), new WebServiceContextImpl());
        Axis2HandlerResolver handlerResolver =
                new Axis2HandlerResolver(classLoader, serviceClass, types, annotationProcessor);
        return handlerResolver;
    }
View Full Code Here

     * performs injection.
     */
    protected void configureHandlers() throws Exception {
        String xml = this.portInfo.getHandlersAsXML();
        HandlerChainsType handlerChains = xml == null ? null : HandlerChainsDocument.Factory.parse(xml).getHandlerChains();
        Axis2HandlerResolver handlerResolver =
            new Axis2HandlerResolver(endpointInstance.getClass().getClassLoader(),
                                   endpointInstance.getClass(),
                                   handlerChains,
                                   this.annotationProcessor);


        // TODO: pass non-null PortInfo to get the right handlers
        chain = handlerResolver.getHandlerChain(null);
    }
View Full Code Here

       
        ClassLoader classLoader = ejbDeploymentContext.getClassLoader();
       
        //TODO: need to invoke the EJB container and forward the call to the EJB container.
       
        Axis2WebServiceContainer container =
            new EJBWebServiceContainer(portInfo, beanClassName, classLoader, context, configurationBaseUrl);
        
        if (soapHandler != null) {
            soapHandler.addWebService(this.location,
                                      virtualHosts,
View Full Code Here

        this.factoryRegistry.put(EndpointLifecycleManager.class, new POJOEndpointLifecycleManager());
    }

    @Override
    protected AxisServiceGenerator createServiceGenerator() {
        AxisServiceGenerator serviceGenerator = super.createServiceGenerator();
        serviceGenerator.setCatalogName(JAXWSUtils.DEFAULT_CATALOG_WEB);
        return serviceGenerator;
    }
View Full Code Here

        return jaxwsEJBApplicationContext == null ? Collections.<PortInfo>emptyList() : jaxwsEJBApplicationContext.getPortInfos();
    }

    @Override
    protected AxisServiceGenerator createServiceGenerator() {
        AxisServiceGenerator serviceGenerator = super.createServiceGenerator();
        serviceGenerator.setCatalogName(JAXWSUtils.DEFAULT_CATALOG_EJB);
        EJBMessageReceiver messageReceiver =
            new EJBMessageReceiver(this, this.endpointClass, this.deploymnetInfo);
        serviceGenerator.setMessageReceiver(messageReceiver);
        return serviceGenerator;
    }
View Full Code Here

        }
    }
   
    @Override
    protected AxisServiceGenerator createServiceGenerator() {
        AxisServiceGenerator serviceGenerator = super.createServiceGenerator();
        EJBMessageReceiver messageReceiver =
            new EJBMessageReceiver(this, this.endpointClass, this.deploymnetInfo);
        serviceGenerator.setMessageReceiver(messageReceiver);
        return serviceGenerator;
    }
View Full Code Here

        this.factoryRegistry.put(EndpointLifecycleManager.class, new POJOEndpointLifecycleManager());
    }

    @Override
    protected AxisServiceGenerator createServiceGenerator() {
        AxisServiceGenerator serviceGenerator = super.createServiceGenerator();
        serviceGenerator.setCatalogName(catalogName);
        return serviceGenerator;
    }
View Full Code Here

TOP

Related Classes of org.apache.geronimo.axis2.Axis2SystemInitializer

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.