[jboss-user] [Microcontainer] - Re: Ordering a deployer which needs multiple inputs

alesj do-not-reply at jboss.com
Fri Mar 13 07:10:26 EDT 2009


"jaikiran" wrote : 
  | I believe the ordering of the deploying is done based on the input/output of various deployers.
  | 
The order of _deployers_ is done based on inputs/outputs.
This is not dynamic, it's resolved when a deployer is added per deployment stage.

"jaikiran" wrote : 
  | But, i still think MC should have handled this differently (not complaining ;-) ). The FinalDeployer was expecting 2 inputs and until the 2 inputs were available, it shouldn't have been invoked.
This can be achieved, but then you need to make this as a true dependency item.
Which is not a common use case as attachments normally don't come on the fly,
but are generated via some deployment flow,
which needs to be predictable / consistent.
Hence the 'static' natural order via inputs/outputs is perfect.

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

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



More information about the jboss-user mailing list