org.jboss.soa.esb.actions.soap.adapter.cxf
Class CXFFactory

java.lang.Object
  extended by org.jboss.soa.esb.actions.soap.adapter.JBossWSFactory
      extended by org.jboss.soa.esb.actions.soap.adapter.cxf.CXFFactory

public class CXFFactory
extends JBossWSFactory

Factory for JBossWS CXF specific details.

Author:
Kevin Conner

Field Summary
 
Fields inherited from class org.jboss.soa.esb.actions.soap.adapter.JBossWSFactory
ESB_INTERNAL_URI
 
Constructor Summary
CXFFactory()
           
 
Method Summary
protected  javax.wsdl.Definition getDefinition(org.jboss.wsf.spi.deployment.Endpoint endpoint)
           
protected  org.apache.cxf.service.model.EndpointInfo getEndpointInfo(java.lang.String address, org.apache.cxf.endpoint.ServerRegistry serverRegistry)
           
 SOAPProcessorFactory getSOAPProcessorFactory()
          Get the SOAP Processor factory for the specific implementation.
 java.io.InputStream getWsdl(java.lang.String uri)
          Get the WSDL for the specified endpoint.
 java.lang.String getWsdlLocation(org.jboss.wsf.spi.deployment.Endpoint endpoint, java.lang.String endpointName)
          Get the URI representing the WSDL location for the specified endpoint
 javax.wsdl.Definition readWSDL(java.net.URL wsdlURL)
          Get the definition for the WSDL at the specific location.
 
Methods inherited from class org.jboss.soa.esb.actions.soap.adapter.JBossWSFactory
getClassLoader, getFactory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CXFFactory

public CXFFactory()
Method Detail

getSOAPProcessorFactory

public SOAPProcessorFactory getSOAPProcessorFactory()
Description copied from class: JBossWSFactory
Get the SOAP Processor factory for the specific implementation.

Specified by:
getSOAPProcessorFactory in class JBossWSFactory
Returns:
The SOAP Processor factory.

getWsdlLocation

public java.lang.String getWsdlLocation(org.jboss.wsf.spi.deployment.Endpoint endpoint,
                                        java.lang.String endpointName)
Description copied from class: JBossWSFactory
Get the URI representing the WSDL location for the specified endpoint

Specified by:
getWsdlLocation in class JBossWSFactory
Parameters:
endpoint - The specific endpoint.
Returns:
The WSDL location or null if unknown.

getWsdl

public java.io.InputStream getWsdl(java.lang.String uri)
                            throws java.io.IOException
Description copied from class: JBossWSFactory
Get the WSDL for the specified endpoint.

Specified by:
getWsdl in class JBossWSFactory
Parameters:
uri - The URI representing the endpoint.
Returns:
The WSDL or null if unknown.
Throws:
java.io.IOException - for errors creating the stream

readWSDL

public javax.wsdl.Definition readWSDL(java.net.URL wsdlURL)
                               throws javax.wsdl.WSDLException
Description copied from class: JBossWSFactory
Get the definition for the WSDL at the specific location.

Specified by:
readWSDL in class JBossWSFactory
Parameters:
wsdlURL - The WSDL URL.
Returns:
The definition.
Throws:
javax.wsdl.WSDLException - For errors parsing the WSDL.

getDefinition

protected javax.wsdl.Definition getDefinition(org.jboss.wsf.spi.deployment.Endpoint endpoint)

getEndpointInfo

protected org.apache.cxf.service.model.EndpointInfo getEndpointInfo(java.lang.String address,
                                                                    org.apache.cxf.endpoint.ServerRegistry serverRegistry)