Apache CXF API

org.apache.cxf.jca.inbound
Class MDBActivationSpec

java.lang.Object
  extended by 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 an ActivationSpec that activates a CXF service endpoint facade. All resource locations are relative to the message driven bean jar.


Constructor Summary
MDBActivationSpec()
           
 
Method Summary
 String getAddress()
          Gets the transport address used by ServerFactoryBean.
 String getBusConfigLocation()
           
 String getDisplayName()
           
 String getEndpointName()
           
 javax.resource.spi.ResourceAdapter getResourceAdapter()
           
 String getSchemaLocations()
          Comma separated schema locations
 String getServiceInterfaceClass()
          Gets the service endpoint interface classname.
 String getServiceName()
           
 String getWsdlLocation()
           
 void setAddress(String address)
          Sets the transport address used by ServerFactoryBean.
 void setBusConfigLocation(String busConfigLocation)
           
 void setDisplayName(String displayName)
          A unique name that is readable to human and it is to identify an inbound endpoint within a application server.
 void setEndpointName(String endpointName)
           
 void setResourceAdapter(javax.resource.spi.ResourceAdapter ra)
           
 void setSchemaLocations(String schemaLocations)
          Comma separated schema locations
 void setServiceInterfaceClass(String serviceInterfaceClass)
           
 void setServiceName(String serviceName)
           
 void setWsdlLocation(String wsdlLocation)
           
 void validate()
          TODO implement validation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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

Apache CXF API

Apache CXF