Re: [JBoss-dev] How to integrate jndi and jmx with ModelMBeans

2002-03-03 Thread Juha Lindfors
The spec already defines an export policy descriptor that should be used to bind a handle of the MBean to JNDI. If an MBean has objects it controls and wants them to be bound to JNDI then it should do this by itself or delegate the task to some other component that controls the naming service.

Re: [JBoss-dev] How to integrate jndi and jmx with ModelMBeans

2002-03-03 Thread Holger Baxmann
Am Son, 2002-03-03 um 12.09 schrieb Juha Lindfors: The spec already defines an export policy descriptor that should be used to bind a handle of the MBean to JNDI. If an MBean has objects it controls and wants them to be bound to JNDI then it should do this by itself or delegate the task to

[JBoss-dev] How to integrate jndi and jmx with ModelMBeans

2002-03-02 Thread David Jencks
There's been some discussion of finding things in jndi and in jmx via obejct name queries, and we currently have quite a few mbeans that end up binding themselves or an object they control into jndi. I think we can provide a generic way of dealing with this situation using the interceptor stack

Re: [JBoss-dev] How to integrate jndi and jmx with ModelMBeans

2002-03-02 Thread Scott M Stark
I think this starting to get too cute as there can be different semantics as to whether bind or rebind is allowed to overwrite existing entries, whether missing subcontexts should be created or represent an error, whether a live reference or a serializable object should be bound, etc. to me,