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(ServiceDefinition serviceDefinition, org.apache.cxf.Bus cxfBus) -
Method Summary
Modifier and TypeMethodDescriptionexportService(ServiceDefinition serviceDefinition) protected org.apache.cxf.Busprotected org.apache.cxf.endpoint.ServerRegistryprotected StringgetServiceAddress(ServiceDefinition serviceDefinition) protected ServiceDefinitionprotected booleanisServicePublished(String serviceAddress) This determines if the service has already been published on the CXF bus.protected abstract voidpublishService(ServiceDefinition serviceDefinition, Object serviceImpl, String address)
-
Constructor Details
-
AbstractWebServiceExporter
-
-
Method Details
-
publishService
protected abstract void publishService(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
-
getCXFBus
protected org.apache.cxf.Bus getCXFBus() -
getCXFServerRegistry
protected org.apache.cxf.endpoint.ServerRegistry getCXFServerRegistry()
-