Class AbstractWebServiceExporter
java.lang.Object
org.kuali.rice.ksb.messaging.serviceexporters.AbstractWebServiceExporter
- All Implemented Interfaces:
ServiceExporter
- Direct Known Subclasses:
SOAPServiceExporter
Abstract ServiceExporter for web services
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
-
Constructor Summary
ConstructorsConstructorDescriptionAbstractWebServiceExporter(org.kuali.rice.ksb.api.bus.ServiceDefinition serviceDefinition, org.apache.cxf.Bus cxfBus) -
Method Summary
Modifier and TypeMethodDescriptionexportService(org.kuali.rice.ksb.api.bus.ServiceDefinition serviceDefinition) protected org.apache.cxf.Busprotected org.apache.cxf.endpoint.ServerRegistryprotected StringgetServiceAddress(org.kuali.rice.ksb.api.bus.ServiceDefinition serviceDefinition) protected org.kuali.rice.ksb.api.bus.ServiceDefinitionprotected booleanisServicePublished(String serviceAddress) This determines if the service has already been published on the CXF bus.protected abstract voidpublishService(org.kuali.rice.ksb.api.bus.ServiceDefinition serviceDefinition, Object serviceImpl, String address)
-
Constructor Details
-
AbstractWebServiceExporter
public AbstractWebServiceExporter(org.kuali.rice.ksb.api.bus.ServiceDefinition serviceDefinition, org.apache.cxf.Bus cxfBus)
-
-
Method Details
-
publishService
protected abstract void publishService(org.kuali.rice.ksb.api.bus.ServiceDefinition serviceDefinition, Object serviceImpl, String address) throws Exception - Throws:
Exception
-
exportService
- Specified by:
exportServicein interfaceServiceExporter
-
getServiceAddress
- Returns:
- the address where the service is (or will be) published
-
isServicePublished
This determines if the service has already been published on the CXF bus.- Returns:
- true if cxf server exists for this service.
-
getServiceDefinition
protected org.kuali.rice.ksb.api.bus.ServiceDefinition getServiceDefinition() -
getCXFBus
protected org.apache.cxf.Bus getCXFBus() -
getCXFServerRegistry
protected org.apache.cxf.endpoint.ServerRegistry getCXFServerRegistry()
-