In Main currently we hardcode serveral MBean creations.  Why not read a
autoload.properties (or whatever) from run.jar, which lists the sequence,
then simply iterate over it and startup components:

  component.0=org.jboss.logging.Logger
  component.1=org.jboss.logging.Log4jService
  component.2=org.jboss.system.Info
  component.3=org.jboss.system.Shutdown
  component.4=org.jboss.system.ServiceController
  component.5=org.jboss.deployment.ServiceDeployer

This could be XML too, but properties will work just as well.

--jason


_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to