Package com.github.marschall.jclequinox
Class EquinoxLogFactory
- java.lang.Object
-
- org.apache.commons.logging.LogFactory
-
- com.github.marschall.jclequinox.EquinoxLogFactory
-
public class EquinoxLogFactory extends LogFactory
ALogFactorythat delegates toExtendedLogService.
-
-
Field Summary
-
Fields inherited from class org.apache.commons.logging.LogFactory
DIAGNOSTICS_DEST_PROPERTY, factories, FACTORY_DEFAULT, FACTORY_PROPERTIES, FACTORY_PROPERTY, HASHTABLE_IMPLEMENTATION_PROPERTY, nullClassLoaderFactory, PRIORITY_KEY, SERVICE_ID, TCCL_KEY
-
-
Constructor Summary
Constructors Constructor Description EquinoxLogFactory()Default constructor called by commons-logging.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectgetAttribute(String name)String[]getAttributeNames()LoggetInstance(Class clazz)LoggetInstance(String name)voidrelease()voidremoveAttribute(String name)voidsetAttribute(String name, Object value)-
Methods inherited from class org.apache.commons.logging.LogFactory
createFactory, directGetContextClassLoader, getClassLoader, getContextClassLoader, getFactory, getLog, getLog, handleThrowable, isDiagnosticsEnabled, logRawDiagnostic, newFactory, newFactory, objectId, release, releaseAll
-
-
-
-
Method Detail
-
getInstance
public Log getInstance(Class clazz) throws LogConfigurationException
- Specified by:
getInstancein classLogFactory- Throws:
LogConfigurationException
-
getInstance
public Log getInstance(String name) throws LogConfigurationException
- Specified by:
getInstancein classLogFactory- Throws:
LogConfigurationException
-
release
public void release()
- Specified by:
releasein classLogFactory
-
getAttribute
public Object getAttribute(String name)
- Specified by:
getAttributein classLogFactory
-
getAttributeNames
public String[] getAttributeNames()
- Specified by:
getAttributeNamesin classLogFactory
-
removeAttribute
public void removeAttribute(String name)
- Specified by:
removeAttributein classLogFactory
-
setAttribute
public void setAttribute(String name, Object value)
- Specified by:
setAttributein classLogFactory
-
-