[jboss-dev-forums] [Deployers on JBoss (Deployers/JBoss)] - Re: Deployer order solely based on inputs/outputs now?

alesj do-not-reply at jboss.com
Fri Sep 7 12:10:12 EDT 2007


"bill.burke at jboss.com" wrote : What triggers it.  If i know this information, then I can proceed.

Any addition (e.g. new install) to Controller triggers this:

  | 
  |       Set<ControllerContext> unresolved = contextsByState.get(fromState);
  |       Set<ControllerContext> resolved = resolveContexts(unresolved, toState, trace);
  | 
  |    protected Set<ControllerContext> resolveContexts(Set<ControllerContext> contexts, ControllerState state, boolean trace)
  |    {
  |       HashSet<ControllerContext> result = new HashSet<ControllerContext>();
  | 
  |       if (contexts.isEmpty() == false)
  |       {
  |          for (ControllerContext ctx : contexts)
  |          {
  |             if (advance(ctx))
  |             {
  |                DependencyInfo dependencies = ctx.getDependencyInfo();
  |                if (dependencies.resolveDependencies(this, state))
  |                   result.add(ctx);
  |             }
  |          }
  |       }
  | 
  |       return result;
  |    }
  | 

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082232#4082232

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082232



More information about the jboss-dev-forums mailing list