You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4cxx-user@logging.apache.org by J P Weber <j_...@yahoo.com> on 2005/12/04 04:53:57 UTC

Class::registerClasses()

Which classes need to be registered in
Class::registerClasses() (and why)?  Is it the classes
whose instances will be created "dynamically" by the
configurators?  Why aren't all of the filter classes
included?

Thanks


		
__________________________________ 
Start your day with Yahoo! - Make it your home page! 
http://www.yahoo.com/r/hs

Re: Class::registerClasses()

Posted by Andreas Fester <af...@apache.org>.
J P Weber wrote:
> Which classes need to be registered in
> Class::registerClasses() (and why)?  Is it the classes
> whose instances will be created "dynamically" by the
> configurators?  Why aren't all of the filter classes

Basically, yes, the reason is that those classes can be
instanciated "by name". Usually, it is sufficient to
use the IMPLEMENT_LOG4CXX_OBJECT macro, but some basic
classes seem to need a slightly different initialisation.

See also
http://issues.apache.org/jira/browse/LOGCXX-77

Regards,

	Andreas