org.kuali.rice.ksb.messaging.serviceexporters
Class RESTServiceExporter
java.lang.Object
org.kuali.rice.ksb.messaging.serviceexporters.AbstractWebServiceExporter
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
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOG
private static final org.apache.log4j.Logger LOG
RESTServiceExporter
public RESTServiceExporter(RestServiceDefinition serviceDefinition,
org.apache.cxf.Bus cxfBus,
org.apache.cxf.endpoint.ServerRegistry cxfServerRegistry)
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.