|
Logback API Version 0.9.8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectch.qos.logback.core.ContextBase
public class ContextBase
Constructor Summary | |
---|---|
ContextBase()
|
Method Summary | |
---|---|
String |
getName()
Contexts are named objects. |
Object |
getObject(String key)
A Context can act as a store for various objects used by LOGBack components. |
String |
getProperty(String key)
Get the property of this context. |
Map<String,String> |
getPropertyMap()
Get all the properties for this context as a Map. |
StatusManager |
getStatusManager()
|
void |
putObject(String key,
Object value)
Store an object under 'key'. |
void |
setName(String name)
The name of the context can be set only once. |
void |
setProperty(String key,
String val)
Set a property of this context. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ContextBase()
Method Detail |
---|
public StatusManager getStatusManager()
getStatusManager
in interface Context
public Map<String,String> getPropertyMap()
Context
getPropertyMap
in interface Context
public void setProperty(String key, String val)
Context
setProperty
in interface Context
public String getProperty(String key)
Context
getProperty
in interface Context
public Object getObject(String key)
Context
getObject
in interface Context
public void putObject(String key, Object value)
Context
putObject
in interface Context
public String getName()
Context
getName
in interface Context
public void setName(String name)
Context
setName
in interface Context
|
Logback API Version 0.9.8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |