public interface BaseContext extends SpecialistsBroker
| Modifier and Type | Interface and Description |
|---|---|
static class |
BaseContext.Env
Definition of execution environments.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
is(BaseContext.Env env)
Returns
true if the given env matches the contexts execution environment, false otherwise. |
void |
logDebug(String message)
Logs the given message as debug message.
|
void |
logError(String message)
Logs the given message as error message.
|
void |
logError(String message,
Throwable ex)
Logs the given message and the trace of the throwable as error message.
|
void |
logInfo(String message)
Logs the given message as info message.
|
void |
logWarning(String message)
Logs the given message as warning.
|
requestSpecialist, requireSpecialistvoid logDebug(String message)
message - the debug messagevoid logInfo(String message)
message - the info messagevoid logWarning(String message)
message - the warn messagevoid logError(String message)
message - the error messagevoid logError(String message, Throwable ex)
message - the error messageex - the exception to logboolean is(BaseContext.Env env)
true if the given env matches the contexts execution environment, false otherwise.env - The environment to check for.true if the given env matches the contexts execution environment, false otherwise.Copyright © 2015 e-Spirit AG. All Rights Reserved. Build 5.1.408