Hi!

Oleg Nitz wrote:
> Let me come out with a simple proposition, that may be simplistic or
> even stupid.
> In brief, I propose to use Unix/Linux startup pattern.
> Let's assign to each of MBean classes some level, e.g.:
> 
> Level 1: ClassPathExtension
> Level 2: Logging
> Level 3: JDBC, Webserver, NamingService
> Level 4: DataSource, TransactionManagerService, SecurityManager
> Level 5: AutoDeployer, Configurator, ContainerFactory
> 
> jBoss should hold its current level.
> Startup is a task "init 5", shutdown is a task "init 0"
> Inside one level MBeans start either in arbitrary order, or in order
> of appearance of jboss.conf.
> If you want to change the TransactionManager, you execute commands
> init 4
> init 5
> by means of some admin.jar or init.jar
> Of course, this approach is less flexible and accurate than the list
> of relations, yet it is easier and gives the possibility to upgrade
> parts of the server at runtime, at least without full restart.

I think the more flexible relationship system can be made to imitate
this quite easily. Just add dummy MBeans called "Level1-5" and add
dependencies to these. If we implement this system with the relationship
system I have no problem with it, since it would be easily replacable if
one needed more oomph in the relations.

/Rickard

-- 
Rickard �berg

Email: [EMAIL PROTECTED]
http://www.telkel.com
http://www.jboss.org
http://www.dreambean.com


Reply via email to