[REVIEW] Make controller instantiation customizable

Greg Brown greg.x.brown at oracle.com
Fri Dec 16 16:50:00 PST 2011


> <?param name="presenter" type="com.zenjava.contacts.search.ContactSearchPresenterInterface"/>
> <?param name="model" type="com.zenjava.contacts.search.ContactSearchModelInterface"/>

OK, that's what I thought. You basically want a way to declare typed arguments to the document. I understand why this might be appealing, but I do think it requires some additional thought.

I also think that this discussion is independent of the current discussion about ControllerFactory. It basically represents a possible alternative to the existing controller construct. However, the controller is currently part of the public API and works well in many scenarios, so it probably isn't going away any time soon. Since ControllerFactory addresses a valid requirement with respect to that controller, I'd suggest that we go ahead with the proposed (typed) version of ControllerFactory and revisit the param concept in a later release.

G



More information about the openjfx-dev mailing list