uk.ac.soton.itinnovation.grid.gridservit.context.helpers
Class ProcessContextHelper

java.lang.Object
  extended by uk.ac.soton.itinnovation.grid.gridservit.context.helpers.ProcessContextHelper

public class ProcessContextHelper
extends Object


Constructor Summary
ProcessContextHelper()
           
 
Method Summary
static ProcessContext getProcessContext()
          Return the primary context for the current SOAP invocation.
static void setPrimaryContextID(MessageContext msgContext, String primaryContext)
          Store the primaryContext for later retrieval by getProcessContext().
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProcessContextHelper

public ProcessContextHelper()
Method Detail

getProcessContext

public static ProcessContext getProcessContext()
                                        throws ContextUnavailableException
Return the primary context for the current SOAP invocation.

Returns:
ProcessContext the context set using setPrimaryContextID
Throws:
ContextUnavailableException - if no context was set

setPrimaryContextID

public static void setPrimaryContextID(MessageContext msgContext,
                                       String primaryContext)
Store the primaryContext for later retrieval by getProcessContext().



Copyright © 2001-2007 University of Southampton IT Innovation Centre. All Rights Reserved.