org.jboss.soa.esb.actions.soap.adapter.wsnative
Class NativeFactory
java.lang.Object
org.jboss.soa.esb.actions.soap.adapter.JBossWSFactory
org.jboss.soa.esb.actions.soap.adapter.wsnative.NativeFactory
public class NativeFactory
- extends JBossWSFactory
Factory for creating JBossWS native specific details.
- Author:
- Kevin Conner
Method Summary |
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NativeFactory
public NativeFactory()
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.