Package org.codehaus.xfire.service.invoker

Examples of org.codehaus.xfire.service.invoker.BeanInvoker


                                                                new AegisBindingProvider());
        factory.setVoidOneWay(true);
        factory.setStyle(SoapConstants.STYLE_DOCUMENT);
        if (isDefaultInOut()) {
            service = factory.create(InOutService.class);
            service.setInvoker(new BeanInvoker(new InOutService(this)));
        } else {
            service = factory.create(InOnlyService.class);
            service.setInvoker(new BeanInvoker(new InOnlyService(this)));
        }
        xfire.getServiceRegistry().register(service);
        controller = new Controller(xfire);
        transformer = new SourceTransformer();
    }
View Full Code Here


                                                                new AegisBindingProvider());
        factory.setVoidOneWay(true);
        factory.setStyle(SoapConstants.STYLE_DOCUMENT);
        if (isDefaultInOut()) {
            service = factory.create(InOutService.class);
            service.setInvoker(new BeanInvoker(new InOutService(this)));
        } else {
            service = factory.create(InOnlyService.class);
            service.setInvoker(new BeanInvoker(new InOnlyService(this)));
        }
        xfire.getServiceRegistry().register(service);
        controller = new Controller(xfire);
        transformer = new SourceTransformer();
    }
View Full Code Here

        }
        if (properties != null) {
            props.putAll(properties);
        }
        xfireService = factory.create(serviceClass, svcLocalName, svcNamespace, props);
        xfireService.setInvoker(new BeanInvoker(getPojo()));
        xfireService.setFaultSerializer(new JbiFaultSerializer());
        xfireService.setProperty(SoapConstants.MTOM_ENABLED, Boolean.toString(mtomEnabled));
        xfire.getServiceRegistry().register(xfireService);
       
        // If the wsdl has not been provided,
View Full Code Here

        {
            // If we're referencing a spring bean, set up our invoker.
            Object serviceBean = getProxyForService();
            if (serviceBean != null)
            {
                xfireService.setInvoker(new BeanInvoker(serviceBean));
            }
        }
       
        // set up in handlers
        if (xfireService.getInHandlers() == null)
View Full Code Here

    if( getFaultHandlers()!= null ){
      endpoint.getFaultHandlers().addAll(getFaultHandlers())
    }
   
    xFire.getServiceRegistry().register(endpoint);
    endpoint.setInvoker(new BeanInvoker(bean));
    Object controller = createController(endpoint.getName());
    registerHandler(urlPrefix + endpoint.getSimpleName(), controller);
  }
View Full Code Here

        {
            Class clazz = SpringUtils.getUserTarget(bean).getClass();
            if (annotations.hasWebServiceAnnotation(clazz))
            {
                Service service = serviceFactory.create(clazz);
                service.setInvoker(new BeanInvoker(bean));
                registry.register(service);
            }
            return bean;
        }
        catch (Exception e)
View Full Code Here

        }
       
        this.implementor = implementor;
       
        this.service = jaxWsHelper.getServiceFactory().create(implementor.getClass());
        this.service.setInvoker(new BeanInvoker(implementor));
    }
View Full Code Here

    super.init(servletConfig);
    ObjectServiceFactory factory =
      new ObjectServiceFactory(getXFire().getTransportManager(), null);
    factory.addIgnoredMethods("java.lang.Comparable");
    Service service = factory.create(_serviceClass);
    service.setInvoker(new BeanInvoker(_instance));
    getController().getServiceRegistry().register(service);
  }
View Full Code Here

TOP

Related Classes of org.codehaus.xfire.service.invoker.BeanInvoker

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.