Hi, I have a requirement that when deploying an MBean (3rd party or in-house) I need to be able to populate it with information from a database (rather than just read the defaults from jboss-service.xml).
I've seen some hints on some other postings (by Bill Bruke) that imply it's possible to do such a thing with a customized deployer: http://www.mail-archive.com/[EMAIL PROTECTED]/msg26293.html > Besides this, JBoss 3.x has the concept of pluggable deployers. The > deployer's job is to read xml files and register and startup the component > in jboss. We have deployers for EJBs, WARS, EARS, and SARs(MBeans) and in > 4.0 AOPs. There's no reason you couldn't write a specialized EJB deployer > that got configuration information from a database. Of course this would be > proprietary. Doing the actual redirection should be fairly straight-forward (derive from ServiceConfigurator and overide configure() to go to the DB). However the problem is that inserting a customized SARDeployer does not seem possible. The SARDeployer is a main JBoss service and it's creation is hard coded in ServerImpl.java (unlike EJBDeployer) which means I can't just create a derivation and modify a jboss-service.xml file. Any idea's on how to get around this? Or is there another way to achieve what I want, namely when a MBean is deployed it reads it's default values from a database instead of jboss-service.xml? I'm a fairly new jboss user so any pointers in the right direction are much appreciated, thanks, gavin ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user