@UESComponent public abstract class UESLoggerFactory extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
BEAN_NAME_SEPARATOR
Separator inserted between component class name and bean name.
|
private static UESLoggerFactory |
factory
Instance of logger factory.
|
static java.lang.String |
FACTORY_NAME
Name of logger factory component.
|
Constructor and Description |
---|
UESLoggerFactory() |
Modifier and Type | Method and Description |
---|---|
static UESLogger |
getLogger(java.lang.Class<?> clazz)
Returns new instance of
UESLogger . |
static UESLogger |
getLogger(java.lang.Class<?> componentClass,
Returns new instance of
UESLogger . |
static UESLogger |
getLogger(java.lang.String name)
Returns new instance of
UESLogger . |
private static UESLoggerFactory |
getLoggerFactory()
Returns instance of script factory.
|
protected abstract UESLogger |
getLoggerInternal(java.lang.Class<?> clazz)
Returns new instance of
UESLogger . |
protected abstract UESLogger |
getLoggerInternal(java.lang.Class<?> componentClass,
Returns new instance of
UESLogger . |
protected abstract UESLogger |
getLoggerInternal(java.lang.String name)
Returns new instance of
UESLogger . |
UESLogger
.clazz
- Class to be used as logger nameUESLogger
.UESLogger
.name
- Logger nameUESLogger
.UESLogger
. Name of logger is created
from given parameters as ${componentClass}".@"${beanName}.componentClass
- Component classbeanName
- Bean nameUESLogger
UESLogger
.clazz
- Class to be used as logger nameUESLogger
.UESLogger
.name
- Logger nameUESLogger
.UESLogger
. Name of logger is created
from given parameters as ${componentClass}".@"${beanName}.componentClass
- Component classbeanName
- Bean nameUESLogger