Context implementation.
More...
◆ TdjContext()
TdjContext::TdjContext |
( |
const string | ContextPath | ) |
|
Create a context with the given path.
- Parameters
-
ContextPath | the context path |
- Exceptions
-
EWebComponentException | if the conext name contains invalid characters |
◆ GetContextConfig()
Get the context configuration.
- Returns
- the context configuration
◆ GetContextPath()
string TdjContext::GetContextPath |
( |
| ) |
|
Get the context path.
- Returns
- the context path.
◆ GetInitParameter()
string TdjContext::GetInitParameter |
( |
const string | Key | ) |
|
Get the init parameter with the given name.
- Parameters
-
- Returns
- the init parameter value
◆ GetInitParameterNames()
TdjStrings TdjContext::GetInitParameterNames |
( |
| ) |
|
Get the list of init parameter names.
- Returns
- list of init parameter names.
◆ Init()
Called by the container on start.
- Parameters
-
Config | the context configuration |
◆ Log()
TdjContext::Log |
( |
const string | Msg | ) |
|
Write a log message.
- Note
- if DARAJA_LOGGING is defined, it will write using the logging framework. Otherwise, it will log to console if System.IsConsole is True.
- Parameters
-