Class MDBActivationSpec

  • All Implemented Interfaces:
    javax.resource.spi.ActivationSpec, javax.resource.spi.ResourceAdapterAssociation
    Direct Known Subclasses:
    DispatchMDBActivationSpec

    public class MDBActivationSpec
    extends Object
    implements javax.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 Detail

      • MDBActivationSpec

        public MDBActivationSpec()
    • Method Detail

      • 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 javax.resource.spi.ResourceAdapter getResourceAdapter()
        Specified by:
        getResourceAdapter in interface javax.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​(javax.resource.spi.ResourceAdapter ra)
                                throws javax.resource.ResourceException
        Specified by:
        setResourceAdapter in interface javax.resource.spi.ResourceAdapterAssociation
        Throws:
        javax.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 javax.resource.spi.InvalidPropertyException
        TODO implement validation
        Specified by:
        validate in interface javax.resource.spi.ActivationSpec
        Throws:
        javax.resource.spi.InvalidPropertyException