Context resolver that processes context and extracts values from there.
Description
TODO: add description
Static methods
getTraceId
Gets a trace (correlation) id.
public staticString getTraceId(IContext context)
- context: IContext - execution context to trace execution through call chain.
- returns: String - a trace id or
nullif it is not defined.
getClient
Gets a client name.
public staticString getClient(IContext context)
- context: IContext - execution context to trace execution through call chain.
- returns: String - a client name or
nullif it is not defined.
getUser
Gets a reference to user object.
publicString getUser(IContext context)
- context: IContext - execution context to trace execution through call chain.
- returns: string - a user reference or
nullif it is not defined.