org.kuali.rice.ksb.messaging.serviceexporters
Class AbstractWebServiceExporter
java.lang.Object
   org.kuali.rice.ksb.messaging.serviceexporters.AbstractWebServiceExporter
org.kuali.rice.ksb.messaging.serviceexporters.AbstractWebServiceExporter
- All Implemented Interfaces: 
- ServiceExporter
- Direct Known Subclasses: 
- RESTServiceExporter, SOAPServiceExporter
- public abstract class AbstractWebServiceExporter 
- extends Object- implements ServiceExporter
Abstract ServiceExporter for web services
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
AbstractWebServiceExporter
public AbstractWebServiceExporter(ServiceDefinition serviceDefinition,
                                  org.apache.cxf.Bus cxfBus,
                                  org.apache.cxf.endpoint.ServerRegistry cxfServerRegistry)
publishService
protected abstract void publishService(ServiceDefinition serviceDefinition,
                                       Object serviceImpl,
                                       String address)
                                throws Exception
- 
 
- 
- Throws:
- Exception
 
exportService
public Object exportService(ServiceDefinition serviceDefinition)
- 
- Specified by:
- exportServicein interface- ServiceExporter
 
- 
 
getServiceAddress
protected String getServiceAddress(ServiceDefinition serviceDefinition)
- 
 
- 
- Returns:
- the address where the service is (or will be) published
 
isServicePublished
protected boolean isServicePublished(String serviceAddress)
- This determines if the service has already been published on the CXF bus.
 
- 
 
- 
- Returns:
- true if cxf server exists for this service.
 
getServiceDefinition
protected ServiceDefinition getServiceDefinition()
- 
 
- 
 
getCXFBus
protected org.apache.cxf.Bus getCXFBus()
- 
 
- 
 
getCXFServerRegistry
protected org.apache.cxf.endpoint.ServerRegistry getCXFServerRegistry()
- 
 
- 
 
Copyright © 2005-2011 The Kuali Foundation. All Rights Reserved.