Remy Maucherat wrote:

> Costin Manolache wrote:
>> Remy Maucherat wrote:
>> 
>> 
>>>The mapper has a currently unused dependency on JNDI, and I plan to put
>>>it in the org.apache.tomcat.util.http.mapper package.
>> 
>> 
>> JNDI deps are fine - dependencies on org.apache.naming are not very good
>> ( since tomcat can be used in an app that uses a different naming impl ).
> 
> Well, I'm still unsure about physical welcome files. On the plus side,
> it would be considerably faster to do that in the mapper.
> 
>>>How can I listen to registrations with JMX 1.1 ? In 1.2, this is quite
>>>obvious, but I think I missed it in 1.1. The static queries are of
>>>course similar.
>> 
>> 
>> It's the same - register a listener on the MBeanServerDelegate.
> 
> I tried that, and get a lot of nice notifications about registration,
> but how do I get the ObjectName of the MBean which caused the
> notification (the source of the Notification is the server delegate,
> which doesn't help). ?

Cast the notification to MBeanServerNotification :-)


Costin


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to