Costin Manolache wrote:
Remy Maucherat wrote:
- Allowing pluggability for commons-modeler
Can you elaborate a bit more on this ? The basic functionality of modeler is to take an object and a descriptor and return an mbean.
This can be made pluggable - a simple interface with a single method is
probably enough to hide most of modeler's logic. But all the descriptors need to be converted.
But what do you want to use instead and how ? Move the mbean descriptors to conf/ so it can be replaced with another format ( since this is specific to modeler ) ?
To give an example, in JBoss, I would use the XMBeans model MBean implementation. I would use XSL to convert the existing descriptors during the build process, and for the introspected ones, I'll have to add the same kind of support to XMBeans.
This has an advantage from a configurability and management perspective.
I didn't start yet (right now, I'm still finalizing the design of my cache), so I don't know at all if it'll be really practical.
Rémy
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]