Costin Manolache wrote:
Remy Maucherat wrote:


Costin Manolache wrote:

Remy Maucherat wrote:

Cast the notification to MBeanServerNotification :-)
Ok, it sort of works now.

The remaining problems:
- some attributes need to send JMX notifications (welcome files,
mappings, etc) so the mapper can be updated
- the Host handling is not dynamic
- some operations need also be propagated (removal of a component)

What if we simplify this by exposing the mappings, welcome files, etc
as JMX attributes of context ?
That sounds doable.

Of course, we won't save the web.xml if someone adds a mapping ( yet :-),
but you'll only need to listen for context add/remove notifications.
Well, the MBean is never unregistered at the moment, so it's quite limited ;-)

And the jmx console would provide more usefull informations.

The methods and info is already there - we just need to expose them.

BTW - I assume you read the discussion on authorization - the problem is the same ( mapping requests URIs to constraints ), it would be good if
we can reuse some code.
The mapping code is generic. I was thinking about having the mapper do the constraint mappings (as it's the same operation) also.

Remy


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

Reply via email to