Package org.apache.cxf.jca.inbound
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
MDBActivationSpec is an
ActivationSpec that
activates a CXF service endpoint facade. All resource locations are
relative to the message driven bean jar.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the transport address used byServerFactoryBean.jakarta.resource.spi.ResourceAdapterComma separated schema locationsGets the service endpoint interface classname.voidsetAddress(String address) Sets the transport address used byServerFactoryBean.voidsetBusConfigLocation(String busConfigLocation) voidsetDisplayName(String displayName) A unique name that is readable to human and it is to identify an inbound endpoint within a application server.voidsetEndpointName(String endpointName) voidsetResourceAdapter(jakarta.resource.spi.ResourceAdapter ra) voidsetSchemaLocations(String schemaLocations) Comma separated schema locationsvoidsetServiceInterfaceClass(String serviceInterfaceClass) voidsetServiceName(String serviceName) voidsetWsdlLocation(String wsdlLocation) voidvalidate()TODO implement validation
-
Constructor Details
-
MDBActivationSpec
public MDBActivationSpec()
-
-
Method Details
-
getAddress
Gets the transport address used byServerFactoryBean.- Returns:
- the address
-
getBusConfigLocation
- Returns:
- the busConfigLocation
-
getDisplayName
- Returns:
- the displayName
-
getEndpointName
- Returns:
- the endpointName
-
getResourceAdapter
public jakarta.resource.spi.ResourceAdapter getResourceAdapter()- Specified by:
getResourceAdapterin interfacejakarta.resource.spi.ResourceAdapterAssociation
-
getSchemaLocations
Comma separated schema locations- Returns:
- the schemaLocations
-
getServiceInterfaceClass
Gets the service endpoint interface classname. The class should be available in the Message Driven Bean jar.- Returns:
- the serviceInterfaceClass
-
getServiceName
- Returns:
- the serviceName
-
getWsdlLocation
- Returns:
- the wsdlLocation
-
setAddress
Sets the transport address used byServerFactoryBean.- Parameters:
address- the address to set
-
setBusConfigLocation
- Parameters:
busConfigLocation- the busConfigLocation to set
-
setDisplayName
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
- Parameters:
endpointName- the endpointName to set
-
setResourceAdapter
public void setResourceAdapter(jakarta.resource.spi.ResourceAdapter ra) throws jakarta.resource.ResourceException - Specified by:
setResourceAdapterin interfacejakarta.resource.spi.ResourceAdapterAssociation- Throws:
jakarta.resource.ResourceException
-
setSchemaLocations
Comma separated schema locations- Parameters:
schemaLocations- the schemaLocations to set
-
setServiceInterfaceClass
- Parameters:
serviceInterfaceClass- the serviceInterfaceClass to set
-
setServiceName
- Parameters:
serviceName- the serviceName to set
-
setWsdlLocation
- Parameters:
wsdlLocation- the wsdlLocation to set
-
validate
public void validate() throws jakarta.resource.spi.InvalidPropertyExceptionTODO implement validation- Specified by:
validatein interfacejakarta.resource.spi.ActivationSpec- Throws:
jakarta.resource.spi.InvalidPropertyException
-