Uses of Class
org.apache.commons.logging.LogConfigurationException
Packages that use LogConfigurationException
Package
Description
Simple wrapper API around multiple logging APIs.
Concrete implementations of commons-logging wrapper APIs.
-
Uses of LogConfigurationException in org.apache.commons.logging
Methods in org.apache.commons.logging that throw LogConfigurationExceptionModifier and TypeMethodDescriptionprotected static ClassLoader
LogFactory.directGetContextClassLoader()
Return the thread context class loader if available; otherwise return null.protected static ClassLoader
LogFactory.getContextClassLoader()
Returns the current context classloader.private static ClassLoader
LogFactory.getContextClassLoaderInternal()
Calls LogFactory.directGetContextClassLoader under the control of an AccessController class.static LogFactory
LogFactory.getFactory()
Construct (if necessary) and return aLogFactory
instance, using the following ordered lookup procedure to determine the name of the implementation class to be loaded.abstract Log
LogFactory.getInstance
(Class clazz) Convenience method to derive a name from the specified class and callgetInstance(String)
with it.abstract Log
LogFactory.getInstance
(String name) Construct (if necessary) and return aLog
instance, using the factory's current set of configuration attributes.static Log
Convenience method to return a named logger, without the application having to care about factories.static Log
Convenience method to return a named logger, without the application having to care about factories.protected static LogFactory
LogFactory.newFactory
(String factoryClass, ClassLoader classLoader, ClassLoader contextClassLoader) Return a new instance of the specifiedLogFactory
implementation class, loaded by the specified class loader. -
Uses of LogConfigurationException in org.apache.commons.logging.impl
Methods in org.apache.commons.logging.impl that throw LogConfigurationExceptionModifier and TypeMethodDescriptionprivate Log
LogFactoryImpl.createLogFromClass
(String logAdapterClassName, String logCategory, boolean affectState) Attempts to load the given class, find a suitable constructor, and instantiate an instance of Log.private Log
LogFactoryImpl.discoverLogImplementation
(String logCategory) Attempts to create a Log instance for the given category name.private ClassLoader
LogFactoryImpl.getBaseClassLoader()
Return the classloader from which we should try to load the logging adapter classes.protected static ClassLoader
LogFactoryImpl.getContextClassLoader()
Gets the context classloader.private static ClassLoader
LogFactoryImpl.getContextClassLoaderInternal()
Calls LogFactory.directGetContextClassLoader under the control of an AccessController class.LogFactoryImpl.getInstance
(Class clazz) Convenience method to derive a name from the specified class and callgetInstance(String)
with it.LogFactoryImpl.getInstance
(String name) Construct (if necessary) and return aLog
instance, using the factory's current set of configuration attributes.protected Constructor
LogFactoryImpl.getLogConstructor()
Deprecated.Never invoked by this class; subclasses should not assume it will be.private void
LogFactoryImpl.handleFlawedHierarchy
(ClassLoader badClassLoader, Class badClass) Report a problem loading the log adapter, then either return (if the situation is considered recoverable) or throw a LogConfigurationException.protected Log
LogFactoryImpl.newInstance
(String name) Create and return a newLog
instance for the specified name.