[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: Concurrent deployments
adrian@jboss.org
do-not-reply at jboss.com
Fri Feb 15 09:41:20 EST 2008
"bstansberry at jboss.com" wrote :
| "adrian at jboss.org" wrote :
| | The Deployments (which are also managed for dependency by the MC)
| | also run in "manual" mode which might be a good thing
| | since it would still ensure that classloaders are constructed in a predictable order
| | on one thread.
|
| Did you mean the "Deployers" here?
No, I mean't the deployments. Each deployment is managed by the MC
as it goes through its states. It is "manual" because it will only advance
to the next state when the "MainDeployer' says it can.
During startup The MainDeployer tells all deployments to advance to Parse,
the all to advance to Describe, repeated for each stage.
But the MC may veto the request if a deployment is missing a depenendency.
e.g. a deployment could have a classloading dependency on a different deployment
that is not deployed (osgi style classloading rules).
But in general this all happens currently on the bootstrap or hot deployment scanner
thread.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4129663#4129663
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4129663
More information about the jboss-dev-forums
mailing list