On Wed, 2004-01-07 at 18:04, Scott M Stark wrote: > A long standing issue I have with the jmx microkernel of services > that are hard-coded (ServerImpl, MainDeployer, SARDeployer, > ServiceController, ...) > is that there is no way to configure these services let alone replace > them. > > So, I want to externalize these as XMBeans. Comments? >
Couldn't we just use an xml (xmbean) description of these services in jboss-system.jar Then use Classloader.getResource() to load it. If somebody wants to override the xml they can use the patch parameter (or add it JBOSS_CLASSPATH) to insert an alternate xml file before jboss-system.jar in the kernel's classloader. The same could be done for the hard-wired modelmbean descriptions in MBeanServerImpl. Depending upon how far you want to go, we could also provide a file that contains a list of mbeans descriptors to instantiate that forms the kernel. In principal this could all be handled by the mbean server. i.e. When creating the MBeanServer it looks in a certain location for the initial mbeans to load. Bootstrapping the server would just be to setup the classloader then create an MBeanServer. I imagine there are a number of "chicken/egg" problems to solve. Regards, Adrian > xxxxxxxxxxxxxxxxxxxxxxxx > Scott Stark > Chief Technology Officer > JBoss Group, LLC > xxxxxxxxxxxxxxxxxxxxxxxx > > > ------------------------------------------------------- > This SF.net email is sponsored by: Perforce Software. > Perforce is the Fast Software Configuration Management System offering > advanced branching capabilities and atomic changes on 50+ platforms. > Free Eval! http://www.perforce.com/perforce/loadprog.html > _______________________________________________ > JBoss-Development mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-development -- xxxxxxxxxxxxxxxxxxxxxxxx Adrian Brock Director of Support Back Office JBoss Group, LLC xxxxxxxxxxxxxxxxxxxxxxxx ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
