Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Web Services Manager
11g (11.1.1)

E10689-01


oracle.wsm.common.sdk
Class MessageContext

java.lang.Object
  extended by oracle.wsm.common.sdk.MessageContext

All Implemented Interfaces:
Serializable, Cloneable, IContext, IMessageContext
Direct Known Subclasses:
NormalizedMessageContext, SOAPBindingMessageContext

public abstract class MessageContext
extends Object
implements IMessageContext, Cloneable
See Also:
Serialized Form

Nested Class Summary

 

Nested classes/interfaces inherited from interface oracle.wsm.common.sdk.IMessageContext
IMessageContext.STAGE, IMessageContext.TYPE

 

Field Summary

 

Fields inherited from interface oracle.wsm.common.sdk.IMessageContext
AGENT_CONTEXT, LEGACY_POLICY_OPERATION_MAP, LEGACY_POLICY_SET, LEGACYPOLICY_ENABLED, OPERATION_ID, OPERATION_NAME, POLICY_SET, REMOTE_IP, REQUEST_PROCESSED_HEADERS, RESPONSE_PROCESSED_HEADERS, SECURITY_SUBJECT

 

Constructor Summary
MessageContext()
           

 

Method Summary
 void cloneFrom(MessageContext origContext)
           
 Map<String,Object> getAllProperties()
          Get properties that is used by the execution engine during policy execution
 String getGUID()
           
 InvocationStatus getInvocationStatus()
          InvocationMetric is used to collect system monitoring data.
 Object getProperty(String name)
          Get the value of the property identified by name
 String getRemoteAddr()
           
 String getServiceID()
           
 String getServiceURL()
           
 IMessageContext.STAGE getStage()
           
 long getStartTime()
           
 IMessageContext.TYPE getType()
           
 void setAllProperties(Map<String,Object> properties)
          Set properties that can be used by the execution engine during policy execution
 void setProperty(String name, Object value)
          Set the value of the property identified by name
 void setRemoteAddr(String remoteAddr)
           
 void setServiceID(String id)
           
 void setServiceURL(String url)
           
 void setStage(IMessageContext.STAGE stage)
           
 void setStartTime(long startTime)
           
 void setType(IMessageContext.TYPE type)
           

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

MessageContext

public MessageContext()

Method Detail

setType

public void setType(IMessageContext.TYPE type)
Specified by:
setType in interface IMessageContext

getType

public IMessageContext.TYPE getType()
Specified by:
getType in interface IMessageContext

setStage

public void setStage(IMessageContext.STAGE stage)
Specified by:
setStage in interface IMessageContext

getStage

public IMessageContext.STAGE getStage()
Specified by:
getStage in interface IMessageContext

setProperty

public void setProperty(String name,
                        Object value)
Description copied from interface: IContext
Set the value of the property identified by name
Specified by:
setProperty in interface IContext

getProperty

public Object getProperty(String name)
Description copied from interface: IContext
Get the value of the property identified by name
Specified by:
getProperty in interface IContext

setAllProperties

public void setAllProperties(Map<String,Object> properties)
Description copied from interface: IContext
Set properties that can be used by the execution engine during policy execution
Specified by:
setAllProperties in interface IContext

getAllProperties

public Map<String,Object> getAllProperties()
Description copied from interface: IContext
Get properties that is used by the execution engine during policy execution
Specified by:
getAllProperties in interface IContext

setServiceID

public void setServiceID(String id)
Specified by:
setServiceID in interface IMessageContext

getServiceID

public String getServiceID()
Specified by:
getServiceID in interface IMessageContext

setServiceURL

public void setServiceURL(String url)
Specified by:
setServiceURL in interface IMessageContext

getServiceURL

public String getServiceURL()
Specified by:
getServiceURL in interface IMessageContext

setRemoteAddr

public void setRemoteAddr(String remoteAddr)
Specified by:
setRemoteAddr in interface IMessageContext

getRemoteAddr

public String getRemoteAddr()
Specified by:
getRemoteAddr in interface IMessageContext

setStartTime

public void setStartTime(long startTime)
Specified by:
setStartTime in interface IMessageContext

getStartTime

public long getStartTime()
Specified by:
getStartTime in interface IMessageContext

getGUID

public String getGUID()
Specified by:
getGUID in interface IMessageContext

getInvocationStatus

public InvocationStatus getInvocationStatus()
InvocationMetric is used to collect system monitoring data. Pipelines and Steps can fill in the data as the invocation goes tho
Specified by:
getInvocationStatus in interface IMessageContext
Returns:
InvocationMetric

cloneFrom

public void cloneFrom(MessageContext origContext)
               throws WSMException
Throws:
WSMException

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Web Services Manager
11g (11.1.1)

E10689-01


Copyright © 2007, 2009, Oracle and/or its affiliates. All rights reserved.