public class RuntimeLoggerFactoryImpl extends Object implements RuntimeLoggerFactory
Modifier | Constructor and Description |
---|---|
protected |
RuntimeLoggerFactoryImpl() |
Modifier and Type | Method and Description |
---|---|
RuntimeLogger |
createInstance() |
RuntimeLogger |
createInstance(Properties aProperties) |
RuntimeLogger |
createInstance(String aIdentifier) |
RuntimeLogger |
createInstance(String aIdentifier,
Properties aProperties)
The provided identifier represents a level hierarchy as defined in the
RuntimeLoggerConsts.RUNTIME_LOGGER_CONFIG XML file. |
public RuntimeLogger createInstance()
createInstance
in interface org.refcodes.factory.factories.TypedFactory<RuntimeLogger>
public RuntimeLogger createInstance(Properties aProperties)
createInstance
in interface org.refcodes.factory.factories.TypedFactory<RuntimeLogger>
public RuntimeLogger createInstance(String aIdentifier)
createInstance
in interface org.refcodes.factory.factories.TypedLookupIdFactory<RuntimeLogger>
public RuntimeLogger createInstance(String aIdentifier, Properties aProperties)
RuntimeLoggerConsts.RUNTIME_LOGGER_CONFIG
XML file. The level
hierarchy is actually the path to the XML element providing the
RuntimeLogger
's configuration. Each level is separated by the
succeeding level with a dot "." as defined by the
DelimeterConsts.HIERARCHY_DELIMETER
char value. The root logger's
level hierarchy (XML path) is defined by the
RuntimeLoggerConsts.ROOT_LOGGER_ELEMENT_PATH
; at the time of this
writing it was set to "org.refcodes.logger.runtimeLogger". The properties
are currently ignored.createInstance
in interface org.refcodes.factory.factories.TypedLookupIdFactory<RuntimeLogger>
Copyright © 2015. All rights reserved.