public class ContextAwareBase extends Object implements ContextAware
| Constructor and Description |
|---|
ContextAwareBase() |
ContextAwareBase(ContextAware declaredOrigin) |
| Modifier and Type | Method and Description |
|---|---|
void |
addError(String msg) |
void |
addError(String msg,
Throwable ex) |
void |
addInfo(String msg) |
void |
addInfo(String msg,
Throwable ex) |
void |
addStatus(Status status) |
void |
addWarn(String msg) |
void |
addWarn(String msg,
Throwable ex) |
Context |
getContext() |
protected Object |
getDeclaredOrigin()
The declared origin of status messages.
|
StatusManager |
getStatusManager() |
void |
setContext(Context context) |
protected Context context
public ContextAwareBase()
public ContextAwareBase(ContextAware declaredOrigin)
public void setContext(Context context)
setContext in interface ContextAwarepublic Context getContext()
getContext in interface ContextAwarepublic StatusManager getStatusManager()
protected Object getDeclaredOrigin()
public void addStatus(Status status)
addStatus in interface ContextAwarepublic void addInfo(String msg)
addInfo in interface ContextAwarepublic void addInfo(String msg, Throwable ex)
addInfo in interface ContextAwarepublic void addWarn(String msg)
addWarn in interface ContextAwarepublic void addWarn(String msg, Throwable ex)
addWarn in interface ContextAwarepublic void addError(String msg)
addError in interface ContextAwarepublic void addError(String msg, Throwable ex)
addError in interface ContextAwareCopyright © 2005–2021 QOS.ch. All rights reserved.