> create() of what???

start() currently creates and starts the thread which handles detection of 
changes in the log4j.xml file (or whatever it is configured to use) and 
reconfiguring Log4j.

Since we call create() on everything before start(), customized logging (such 
as logging to server.log), will not be enabled until everything has been 
created, thus some logs are lost.

> create methods aren't supposed to reference anything outside the current
> mbean, there is no reason to suppose it is there.

I think we are safe here, it only talks to Log4j, which it is control of.

> Is this going to involve using an mbean before it has gone through the
> start lifecycle event?  If so, is there some other way to get the effect
> you want?

No, should not.  No thing really uses Log4jService... except users who need to 
reconfigure or change logging levels on the fly.

--jason


_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to