Apache CXF API

org.apache.cxf.binding.corba.utils
Class ContextUtils

java.lang.Object
  extended by org.apache.cxf.binding.corba.utils.ContextUtils

public final class ContextUtils
extends Object

Holder for utility methods relating to contexts.


Method Summary
static DataReader<javax.xml.stream.XMLEventReader> getDataReader(CorbaMessage message)
           
static DataWriter<javax.xml.stream.XMLEventWriter> getDataWriter(CorbaMessage message)
           
static boolean isOutbound(Message message)
          Determine if message is outbound.
static boolean isRequestor(Message message)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

isRequestor

public static boolean isRequestor(Message message)

isOutbound

public static boolean isOutbound(Message message)
Determine if message is outbound.

Parameters:
message - the current Message
Returns:
true iff the message direction is outbound

getDataWriter

public static DataWriter<javax.xml.stream.XMLEventWriter> getDataWriter(CorbaMessage message)

getDataReader

public static DataReader<javax.xml.stream.XMLEventReader> getDataReader(CorbaMessage message)

Apache CXF API

Apache CXF