> "Schaefer, Andreas" wrote:
> > Yeah, but I do not think to make stuff simplier by
> > making them dependable is the right step.
> > 
> > Why should the list of services also contain the order
> > in which the services are started?
> 
> Because it is easier to understand now. The old way was perhaps more
> feature-complete, but also more complex so more difficult to 
> understand.
> 
> Have you looked at the new configuration files? Do you think 
> it is hard
> to understand?
No, I don't think it is hard to understand but I added a comment to
jboss.jcml to mention that the order is important (even it is an XML
file).
BTW I had a look at the Shutdown MBean and couldn't figure out how
you shutdown the MBean (you stop and destroy the ServiceControl MBean
but there is nothing happens in the ServiceControl).

> > And in addition the problem is only solved during startup
> > therefore we screwed up the possibilty to define a dynamic,
> > dependecy aware startup and shutdown behaviour during
> > runtime (or to you want the user to define this in the
> > jboss.jcml and ALSO in the jboss.dependencies?).
> 
> No, I want to deprecate jboss.dependencies, and add 
> dependency settings
> in jboss.jcml. All in one place, but not necessarily used by one MBean
> (some by ServiceControl and some by DependencyManager).
What is then the ServiceControl do compared to the DependencyManager?

Do you want to add depedency description into jboss.jcml?

> 2) The main reason to have a DM at all, as opposed to just using the
> server conf. file order, was to allow runtime checking of 
> dependencies.
> The current DM doesn't use this, and it wasn't an MBean so it wasn't
> even usable at runtime even if it had work.
To make the DM a MBean is not a biggy but to make it working right at
runtime is a little bit more difficult (normally the dependent services
should be stopped and destroyed beforehand etc.).

> That said, there are still things to be done, runtime 
> dependencies being
> the main one. So, the dependency manager *functionality* will reappear
> somehow in an MBean, but this time it will actually work at 
> runtime too
> which is the main reason to have one in the first place.
I would like to create a DM which not only works for jBoss (<iiiieee
change="JBoss"/>)
but for other projects.

Thanx for your time - Andy

Reply via email to