[slf4j-user] jcl104-over-slf4j throws exception on release()
Boris Unckel
boris.unckel.mlg at gmx.net
Tue May 23 13:17:54 CEST 2006
Hello,
very clear, have a look
at:
http://svn.slf4j.org/viewcvs/slf4j/trunk/src/java/org/apache/commons/logging/impl/SLF4FLogFactory.java?view=markup
/**
* Release any internal references to previously created
* {@link org.apache.commons.logging.Log}instances returned by this
factory.
* This is useful in environments like servlet containers, which implement
* application reloading by throwing away a ClassLoader. Dangling
references
* to objects in that class loader would prevent garbage collection.
*/
public void release() {
throw new UnsupportedOperationException("SLF4J bound commons-logging
does not need to implement release().");
}
Regards
Boris
More information about the slf4j-user
mailing list