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)

Field Summary
private static org.apache.log4j.Logger LOG
           
 
Constructor Summary
RESTServiceExporter(RestServiceDefinition serviceDefinition, org.apache.cxf.Bus cxfBus, org.apache.cxf.endpoint.ServerRegistry cxfServerRegistry)
           
 
Method Summary
 void publishService(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
 

Field Detail

LOG

private static final org.apache.log4j.Logger LOG
Constructor Detail

RESTServiceExporter

public RESTServiceExporter(RestServiceDefinition serviceDefinition,
                           org.apache.cxf.Bus cxfBus,
                           org.apache.cxf.endpoint.ServerRegistry cxfServerRegistry)
Method Detail

publishService

public void publishService(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.