org.kuali.rice.ksb.messaging.serviceexporters
Class RESTServiceExporter

java.lang.Object
  extended by org.kuali.rice.ksb.messaging.serviceexporters.AbstractWebServiceExporter
      extended by org.kuali.rice.ksb.messaging.serviceexporters.RESTServiceExporter
All Implemented Interfaces:
ServiceExporter

public class RESTServiceExporter
extends AbstractWebServiceExporter
implements ServiceExporter

ServiceExporter for RESTful services. This class handles the service binding and exposure via CXF.

Author:
Kuali Rice Team (rice.collab@kuali.org)

Constructor Summary
RESTServiceExporter(org.kuali.rice.ksb.api.bus.support.RestServiceDefinition serviceDefinition, org.apache.cxf.Bus cxfBus, org.apache.cxf.endpoint.ServerRegistry cxfServerRegistry)
           
 
Method Summary
 void publishService(org.kuali.rice.ksb.api.bus.ServiceDefinition serviceDefinition, Object serviceImpl, String address)
          This publishes the cxf service onto the cxf bus.
 
Methods inherited from class org.kuali.rice.ksb.messaging.serviceexporters.AbstractWebServiceExporter
exportService, getCXFBus, getCXFServerRegistry, getServiceAddress, getServiceDefinition, isServicePublished
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.kuali.rice.ksb.messaging.serviceexporters.ServiceExporter
exportService
 

Constructor Detail

RESTServiceExporter

public RESTServiceExporter(org.kuali.rice.ksb.api.bus.support.RestServiceDefinition serviceDefinition,
                           org.apache.cxf.Bus cxfBus,
                           org.apache.cxf.endpoint.ServerRegistry cxfServerRegistry)
Method Detail

publishService

public void publishService(org.kuali.rice.ksb.api.bus.ServiceDefinition serviceDefinition,
                           Object serviceImpl,
                           String address)
This publishes the cxf service onto the cxf bus.

Specified by:
publishService in class AbstractWebServiceExporter
Parameters:
serviceImpl -
Throws:
Exception


Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.