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