Package org.apache.cxf.jca.inbound
Class MDBActivationSpec
- java.lang.Object
-
- org.apache.cxf.jca.inbound.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 anActivationSpecthat activates a CXF service endpoint facade. All resource locations are relative to the message driven bean jar.
-
-
Constructor Summary
Constructors Constructor Description MDBActivationSpec()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAddress()Gets the transport address used byServerFactoryBean.StringgetBusConfigLocation()StringgetDisplayName()StringgetEndpointName()javax.resource.spi.ResourceAdaptergetResourceAdapter()StringgetSchemaLocations()Comma separated schema locationsStringgetServiceInterfaceClass()Gets the service endpoint interface classname.StringgetServiceName()StringgetWsdlLocation()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(javax.resource.spi.ResourceAdapter ra)voidsetSchemaLocations(String schemaLocations)Comma separated schema locationsvoidsetServiceInterfaceClass(String serviceInterfaceClass)voidsetServiceName(String serviceName)voidsetWsdlLocation(String wsdlLocation)voidvalidate()TODO implement validation
-
-
-
Method Detail
-
getAddress
public String getAddress()
Gets the transport address used byServerFactoryBean.- 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:
getResourceAdapterin interfacejavax.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 byServerFactoryBean.- 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:
setResourceAdapterin interfacejavax.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.InvalidPropertyExceptionTODO implement validation- Specified by:
validatein interfacejavax.resource.spi.ActivationSpec- Throws:
javax.resource.spi.InvalidPropertyException
-
-