Package org.codehaus.xfire.service.binding

Examples of org.codehaus.xfire.service.binding.ObjectServiceFactory


       
        Map props = new HashMap();
        props.put(ObjectServiceFactory.CREATE_DEFAULT_BINDINGS, Boolean.TRUE);
        props.put(ObjectServiceFactory.STYLE, SoapConstants.STYLE_DOCUMENT);
       
        sourceService = new ObjectServiceFactory().create(SourceService.class, props);
    }
View Full Code Here


   * @param api the api exposed to the client
   */
  public Object createProxy(Class api)
  {
    try {
      Service service = new ObjectServiceFactory().create(api);

      return new XFireProxyFactory().create(service, _url);
    }
    catch (Exception e) {
      throw ConfigException.create(e);
View Full Code Here

  public void init(ServletConfig servletConfig)
    throws ServletException
  {
    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.binding.ObjectServiceFactory

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.