cgl.narada.wsinfra.deployment.impl
Class SOAPContextImpl

java.lang.Object
  extended by cgl.narada.wsinfra.deployment.impl.SOAPContextImpl
All Implemented Interfaces:
SOAPContext

public class SOAPContextImpl
extends Object
implements SOAPContext

Contains an implementation of the SOAPContext interface.


Constructor Summary
SOAPContextImpl(EnvelopeDocument envelopeDocument)
           
SOAPContextImpl(SOAPMessage soapMessage)
           
 
Method Summary
 boolean encapsulatesEnvelopeDocument()
          Check to see if the SOAPContext encapsulates an EnvelopeDocument.
 boolean encapsulatesSOAPMessage()
          Check to see if the SOAPContext encapsulates a SOAPMessage.
 EnvelopeDocument getEnvelopeDocument()
          Retrieve the envelope document.
 Object getProperty(String propertyName)
          Retrieves the value associated with the specified propertyName.
 SOAPMessage getSOAPMessage()
          Get the underlying SOAP message.
 boolean hasProperty(String propertyName)
          Check to see if there is a property corresponding to the specified property name.
 Enumeration propertyNames()
          Returns an enumeration of the properties encapsulated within the SOAPContext.
 void removeProperty(String propertyName)
          Removes the propertyName-Value combination associated with the specified propety name.
 void setEnvelopeDocument(EnvelopeDocument envelopeDocument)
          Set the envelope document.
 void setProperty(String propertyName, Object value)
          Adds/Replaces a property with specified value.
 void setSOAPMessage(SOAPMessage soapMessage)
          Set the soap message for the context.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SOAPContextImpl

public SOAPContextImpl(SOAPMessage soapMessage)

SOAPContextImpl

public SOAPContextImpl(EnvelopeDocument envelopeDocument)
Method Detail

getSOAPMessage

public SOAPMessage getSOAPMessage()
Get the underlying SOAP message.

Specified by:
getSOAPMessage in interface SOAPContext

setSOAPMessage

public void setSOAPMessage(SOAPMessage soapMessage)
Set the soap message for the context.

Specified by:
setSOAPMessage in interface SOAPContext

getEnvelopeDocument

public EnvelopeDocument getEnvelopeDocument()
Retrieve the envelope document.

Specified by:
getEnvelopeDocument in interface SOAPContext

setEnvelopeDocument

public void setEnvelopeDocument(EnvelopeDocument envelopeDocument)
Set the envelope document.

Specified by:
setEnvelopeDocument in interface SOAPContext

encapsulatesSOAPMessage

public boolean encapsulatesSOAPMessage()
Check to see if the SOAPContext encapsulates a SOAPMessage.

Specified by:
encapsulatesSOAPMessage in interface SOAPContext

encapsulatesEnvelopeDocument

public boolean encapsulatesEnvelopeDocument()
Check to see if the SOAPContext encapsulates an EnvelopeDocument.

Specified by:
encapsulatesEnvelopeDocument in interface SOAPContext

getProperty

public Object getProperty(String propertyName)
Retrieves the value associated with the specified propertyName.

Specified by:
getProperty in interface SOAPContext

hasProperty

public boolean hasProperty(String propertyName)
Check to see if there is a property corresponding to the specified property name.

Specified by:
hasProperty in interface SOAPContext

removeProperty

public void removeProperty(String propertyName)
Removes the propertyName-Value combination associated with the specified propety name.

Specified by:
removeProperty in interface SOAPContext

setProperty

public void setProperty(String propertyName,
                        Object value)
Adds/Replaces a property with specified value.

Specified by:
setProperty in interface SOAPContext

propertyNames

public Enumeration propertyNames()
Returns an enumeration of the properties encapsulated within the SOAPContext.

Specified by:
propertyNames in interface SOAPContext


For comments and suggestions please send e-mail to The NaradaBrokering Project