[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: Deployers Ordering Issue

richard.opalka@jboss.com do-not-reply at jboss.com
Thu Jun 25 07:52:45 EDT 2009


"alesj" wrote : "richard.opalka at jboss.com" wrote : 
  |   |  - it doesn't validate inputs
  |   | 
  | Validate how?
  | 
  | Order at runtime based on the actual attachment values?
  | Too much hassle for something that sounds useless in 99,9%.
  | Not to mention that it's not deterministic.
  | 
By validating the input I mean:
if there's deployer that has input = "attachment_name", then 
there's deployer before current deployer that defines output = "attachment_name".
I'm not talking about validating the deployer attachments at runtime.
"alesj" wrote : "richard.opalka at jboss.com" wrote : 
  |   |  - it sorts deployers on insert, but should sort them after deployers chain initialization
  |   | 
  | What would you gain by this?
I mean, how can you ensure deployers are inserted in correct order to deployers chain during AS bootstrap? This question is asked with precondition we're validating the deployers inputs as specified above.

The fundamental question here is why do you think we shouldn't validate inputs?

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

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



More information about the jboss-dev-forums mailing list