Class MDBActivationSpec

java.lang.Object
org.apache.cxf.jca.inbound.MDBActivationSpec
All Implemented Interfaces:
jakarta.resource.spi.ActivationSpec, jakarta.resource.spi.ResourceAdapterAssociation
Direct Known Subclasses:
DispatchMDBActivationSpec

public class MDBActivationSpec extends Object implements jakarta.resource.spi.ActivationSpec
MDBActivationSpec is an ActivationSpec that activates a CXF service endpoint facade. All resource locations are relative to the message driven bean jar.
  • Constructor Details

    • MDBActivationSpec

      public MDBActivationSpec()
  • Method Details

    • getAddress

      public String getAddress()
      Gets the transport address used by ServerFactoryBean.
      Returns:
      the address
    • getBusConfigLocation

      public String getBusConfigLocation()
      Returns:
      the busConfigLocation
    • getDisplayName

      public String getDisplayName()
      Returns:
      the displayName
    • getEndpointName

      public String getEndpointName()
      Returns:
      the endpointName
    • getResourceAdapter

      public jakarta.resource.spi.ResourceAdapter getResourceAdapter()
      Specified by:
      getResourceAdapter in interface jakarta.resource.spi.ResourceAdapterAssociation
    • getSchemaLocations

      public String getSchemaLocations()
      Comma separated schema locations
      Returns:
      the schemaLocations
    • getServiceInterfaceClass

      public String getServiceInterfaceClass()
      Gets the service endpoint interface classname. The class should be available in the Message Driven Bean jar.
      Returns:
      the serviceInterfaceClass
    • getServiceName

      public String getServiceName()
      Returns:
      the serviceName
    • getWsdlLocation

      public String getWsdlLocation()
      Returns:
      the wsdlLocation
    • setAddress

      public void setAddress(String address)
      Sets the transport address used by ServerFactoryBean.
      Parameters:
      address - the address to set
    • setBusConfigLocation

      public void setBusConfigLocation(String busConfigLocation)
      Parameters:
      busConfigLocation - the busConfigLocation to set
    • setDisplayName

      public void setDisplayName(String displayName)
      A unique name that is readable to human and it is to identify an inbound endpoint within a application server.
      Parameters:
      displayName - the displayName to set
    • setEndpointName

      public void setEndpointName(String endpointName)
      Parameters:
      endpointName - the endpointName to set
    • setResourceAdapter

      public void setResourceAdapter(jakarta.resource.spi.ResourceAdapter ra) throws jakarta.resource.ResourceException
      Specified by:
      setResourceAdapter in interface jakarta.resource.spi.ResourceAdapterAssociation
      Throws:
      jakarta.resource.ResourceException
    • setSchemaLocations

      public void setSchemaLocations(String schemaLocations)
      Comma separated schema locations
      Parameters:
      schemaLocations - the schemaLocations to set
    • setServiceInterfaceClass

      public void setServiceInterfaceClass(String serviceInterfaceClass)
      Parameters:
      serviceInterfaceClass - the serviceInterfaceClass to set
    • setServiceName

      public void setServiceName(String serviceName)
      Parameters:
      serviceName - the serviceName to set
    • setWsdlLocation

      public void setWsdlLocation(String wsdlLocation)
      Parameters:
      wsdlLocation - the wsdlLocation to set
    • validate

      public void validate() throws jakarta.resource.spi.InvalidPropertyException
      TODO implement validation
      Specified by:
      validate in interface jakarta.resource.spi.ActivationSpec
      Throws:
      jakarta.resource.spi.InvalidPropertyException