uk.ac.soton.itinnovation.grid.gridservit.context.helpers
Class ProcessContextHelper
java.lang.Object
uk.ac.soton.itinnovation.grid.gridservit.context.helpers.ProcessContextHelper
public class ProcessContextHelper
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProcessContextHelper
public ProcessContextHelper()
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.