Scott Stark wrote:
Based on the thread-pool prototyping, BeanMetaDataFactories are going to have their own domain level DSL describing their configuration. What we need to provide in terms of spi/plugin support in jboss-managed is an easy way to map from the configuration metadata to the BeanMetaData the factory produces.
The jboss-threads project is certainly one we should try to work with to make this connection as easy as possible.
The means by which the threads DSL is mapped from XML to a BMDF is purely an implementation detail. We probably don't have a lot of alternatives, but the whole process of going from XML to object model via XB, and then to BeanMetaData via BMDF is pretty clunky. I'd like to at least keep the door open to alternatives, so hopefully we won't be locked too tightly into this model...