org.codehaus.xfire
Class DefaultXFire
java.lang.Object
org.codehaus.xfire.AbstractXFireComponent
org.codehaus.xfire.DefaultXFire
- All Implemented Interfaces:
- XFire
public class DefaultXFire
- extends AbstractXFireComponent
- implements XFire
- Since:
- Feb 13, 2004
- Author:
- Dan Diephouse
Fields inherited from interface org.codehaus.xfire.XFire |
ROLE |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultXFire
public DefaultXFire()
DefaultXFire
public DefaultXFire(ServiceRegistry registry,
TransportManager transportManager)
invoke
public void invoke(javax.xml.stream.XMLStreamReader reader,
MessageContext context)
- See Also:
org.codehaus.xfire.XFire#invoke(java.lang.String, javax.xml.stream.XMLStreamReader, javax.xml.stream.XMLStreamWriter, org.codehaus.xfire.transport.Invocation)
findService
protected Service findService(java.lang.String serviceName)
- Parameters:
context
-
- Returns:
-
- Throws:
ComponentLookupException
invoke
public void invoke(java.io.InputStream stream,
MessageContext context)
- Description copied from interface:
XFire
- Processes a new SOAP Message request. If a fault
or exception occurs, it is written to the OutputStream
in the
MessageContext
. However,
XFireRuntimeException
s may still be thrown if
something fatal goes wrong in the pipeline.
- Specified by:
invoke
in interface XFire
- Parameters:
stream
- An InputStream to the SOAP document.context
- The MessageContext.- See Also:
org.codehaus.xfire.XFire#invoke(java.lang.String, java.io.InputStream, javax.xml.stream.XMLStreamWriter, org.codehaus.xfire.transport.Invocation)
generateWSDL
public void generateWSDL(java.lang.String serviceName,
java.io.OutputStream out)
- Description copied from interface:
XFire
- Generate WSDL for a service.
- Specified by:
generateWSDL
in interface XFire
- Parameters:
serviceName
- The name of the service.out
- The OutputStream to write the WSDL to.- See Also:
org.codehaus.xfire.XFire#generateWSDL(java.lang.String)
getServiceRegistry
public ServiceRegistry getServiceRegistry()
- Description copied from interface:
XFire
- Get the
ServiceRegistry
.
- Specified by:
getServiceRegistry
in interface XFire
getTransportManager
public TransportManager getTransportManager()
- Description copied from interface:
XFire
- Get the
TransportManager
.
- Specified by:
getTransportManager
in interface XFire
Copyright © 2004 Codehaus. All Rights Reserved.