org.codehaus.xfire.java.message
Class AbstractMessageBridge

java.lang.Object
  extended by org.codehaus.xfire.java.message.AbstractMessageBridge
All Implemented Interfaces:
MessageBridge
Direct Known Subclasses:
DocumentBridge, WrappedBridge

public abstract class AbstractMessageBridge
extends java.lang.Object
implements MessageBridge

MessageReader

Author:
Dan Diephouse

Field Summary
protected  Operation operation
           
 
Constructor Summary
AbstractMessageBridge(JavaService service, org.codehaus.xfire.MessageContext context, javax.xml.stream.XMLStreamReader request, javax.xml.stream.XMLStreamWriter response)
           
 
Method Summary
 org.codehaus.xfire.MessageContext getContext()
           
 java.lang.String getNamespace()
           
 Operation getOperation()
           
 javax.xml.stream.XMLStreamReader getRequestReader()
           
 javax.xml.stream.XMLStreamWriter getResponseWriter()
           
 JavaService getService()
           
 TypeMapping getTypeMapping()
           
 void setContext(org.codehaus.xfire.MessageContext context)
           
 void setNamespace(java.lang.String namespace)
           
 void setOperation(Operation operation)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.codehaus.xfire.java.message.MessageBridge
read, write
 

Field Detail

operation

protected Operation operation
Constructor Detail

AbstractMessageBridge

public AbstractMessageBridge(JavaService service,
                             org.codehaus.xfire.MessageContext context,
                             javax.xml.stream.XMLStreamReader request,
                             javax.xml.stream.XMLStreamWriter response)
Method Detail

getTypeMapping

public TypeMapping getTypeMapping()
Returns:
Returns the typeMappingRegistry.

getService

public JavaService getService()
Returns:
Returns the service.

getContext

public org.codehaus.xfire.MessageContext getContext()
Returns:
Returns the context.

setContext

public void setContext(org.codehaus.xfire.MessageContext context)
Parameters:
context - The context to set.

getRequestReader

public javax.xml.stream.XMLStreamReader getRequestReader()

getResponseWriter

public javax.xml.stream.XMLStreamWriter getResponseWriter()
Returns:
Returns the response body.

getOperation

public Operation getOperation()
Specified by:
getOperation in interface MessageBridge
Returns:
The operation that is being invoked in this request.
See Also:
MessageBridge.getOperation()

setOperation

public void setOperation(Operation operation)
Parameters:
operation - The operation to set.

getNamespace

public java.lang.String getNamespace()
Returns:
Returns the namespace.

setNamespace

public void setNamespace(java.lang.String namespace)
Parameters:
namespace - The namespace to set.


Copyright © 2004 Codehaus. All Rights Reserved.