"jaikiran" wrote : | So what is the expected behaviour of setInput(Class<?> clazz). If it was intended to use the classname as the attachment key, then any reason why the API expects a Class<?> instead of a String? | To help us with generic usage.
In most cases real deployers are meant to be component deployers, where we expect only a single attachment by that type, hence we are able to store it under class name. It can also be used if you're aware that there will be only single deployer storing its attachment under that class name. I agree here with you that this might not be completely obvious, hence you must use caution and common sense on when you use this single input. ;-) "jaikiran" wrote : | Also, how does the addInput API influence the deployers? | It helps with the "natural" order (order by inputs/outputs). It might also help with something you wanted - AbstractAllInputDeployer. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4238489#4238489 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4238489 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user