|
JBoss Log Manager 1.4.1.Final | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface LogContextConfiguration
A log context configuration.
| Nested Class Summary | |
|---|---|
static class |
LogContextConfiguration.Factory
The factory class for persistent configurations. |
| Method Summary | |
|---|---|
ErrorManagerConfiguration |
addErrorManagerConfiguration(String moduleName,
String className,
String errorManagerName,
String... constructorProperties)
|
FilterConfiguration |
addFilterConfiguration(String moduleName,
String className,
String filterName,
String... constructorProperties)
|
FormatterConfiguration |
addFormatterConfiguration(String moduleName,
String className,
String formatterName,
String... constructorProperties)
|
HandlerConfiguration |
addHandlerConfiguration(String moduleName,
String className,
String handlerName,
String... constructorProperties)
Add a handler configuration. |
LoggerConfiguration |
addLoggerConfiguration(String loggerName)
|
PojoConfiguration |
addPojoConfiguration(String moduleName,
String className,
String pojoName,
String... constructorProperties)
Add a POJO configuration. |
void |
commit()
Commit the current changes into the running logging configuration. |
void |
forget()
Clear all the current changes and restore this object to its original state. |
ErrorManagerConfiguration |
getErrorManagerConfiguration(String errorManagerName)
|
List<String> |
getErrorManagerNames()
|
FilterConfiguration |
getFilterConfiguration(String filterName)
|
List<String> |
getFilterNames()
|
FormatterConfiguration |
getFormatterConfiguration(String formatterName)
|
List<String> |
getFormatterNames()
|
HandlerConfiguration |
getHandlerConfiguration(String handlerName)
|
List<String> |
getHandlerNames()
|
LogContext |
getLogContext()
Get the log context being configured by this configuration object. |
LoggerConfiguration |
getLoggerConfiguration(String loggerName)
|
List<String> |
getLoggerNames()
|
PojoConfiguration |
getPojoConfiguration(String pojoName)
Gets the POJO configuration. |
List<String> |
getPojoNames()
A list of the POJO configuration names. |
void |
prepare()
Prepares the current changes. |
boolean |
removeErrorManagerConfiguration(String errorManagerName)
|
boolean |
removeFilterConfiguration(String filterName)
|
boolean |
removeFormatterConfiguration(String formatterName)
|
boolean |
removeHandlerConfiguration(String handlerName)
Remove a handler configuration. |
boolean |
removeLoggerConfiguration(String loggerName)
|
boolean |
removePojoConfiguration(String pojoName)
Removes the POJO configuration. |
| Method Detail |
|---|
LogContext getLogContext()
LoggerConfiguration addLoggerConfiguration(String loggerName)
boolean removeLoggerConfiguration(String loggerName)
LoggerConfiguration getLoggerConfiguration(String loggerName)
List<String> getLoggerNames()
HandlerConfiguration addHandlerConfiguration(String moduleName,
String className,
String handlerName,
String... constructorProperties)
moduleName - the module name, or null to use the logmanager's class pathclassName - the class name of the handler (must not be null)handlerName - the name of the handler (must be unique within this configuration and not null)constructorProperties - an optional list of constructor property names
boolean removeHandlerConfiguration(String handlerName)
handlerName - the handler name to remove
true if the handler was removed, false if the handler didn't existHandlerConfiguration getHandlerConfiguration(String handlerName)
List<String> getHandlerNames()
FormatterConfiguration addFormatterConfiguration(String moduleName,
String className,
String formatterName,
String... constructorProperties)
boolean removeFormatterConfiguration(String formatterName)
FormatterConfiguration getFormatterConfiguration(String formatterName)
List<String> getFormatterNames()
FilterConfiguration addFilterConfiguration(String moduleName,
String className,
String filterName,
String... constructorProperties)
boolean removeFilterConfiguration(String filterName)
FilterConfiguration getFilterConfiguration(String filterName)
List<String> getFilterNames()
ErrorManagerConfiguration addErrorManagerConfiguration(String moduleName,
String className,
String errorManagerName,
String... constructorProperties)
boolean removeErrorManagerConfiguration(String errorManagerName)
ErrorManagerConfiguration getErrorManagerConfiguration(String errorManagerName)
List<String> getErrorManagerNames()
void prepare()
forget() method if commit() has not been invoked.
PojoConfiguration addPojoConfiguration(String moduleName,
String className,
String pojoName,
String... constructorProperties)
moduleName - the module name, or null to use the logmanager's class pathclassName - the class name of the POJO (must not be null)pojoName - the name of the POJO (must be unique within this configuration and not nullconstructorProperties - an optional list of constructor property names
boolean removePojoConfiguration(String pojoName)
pojoName - the name of the POJO
true if the configuration was removed, othwerwise false if the configuration did not
exist or was not remove.PojoConfiguration getPojoConfiguration(String pojoName)
pojoName - the name of the POJO
nullList<String> getPojoNames()
void commit()
void forget()
|
JBoss Log Manager 1.4.1.Final | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||