Kris,

The <create-instance> is a very simplistic mechanism.  All it does is
instantiate that class.  It does no configuration or wiring of the
instantiated object.  If you want dependency injection, use <invoke-factory>
instead, which by default uses the BuilderFactory to instantiate and
configure your implementation object.

James

-----Original Message-----
From: Kristian Marinkovic [mailto:[EMAIL PROTECTED] 
Sent: Monday, July 24, 2006 10:44 AM
To: Tapestry users
Subject: Hivemind: Difference between <invoke-factory> and <create-instance>


Hi,

can somebody explain to me the difference between
<invoke-factory> and <create-instance>? Is there any
difference in behaviour as long as the class referenced
by <invoke-factory> does not implement
ServiceImplementationFactory?

Or am i completely wrong :) I'm not sure how to use them.

Thanks in advance

g,
kris


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to