On 4/17/07, nlif <[EMAIL PROTECTED]> wrote:



If I go with (1), then it makes sense to use the fact that the Application
instance is created by Spring, to also inject it with the Services: I just
provide setters. But then - how do I implement the getters so that they
return the proxies?


then you cannot create proxies. the proxy needs the information needed to
lookup the bean from the context, which a returned bean does not possess. so
you have to be very careful not to keep references to those spring-injected
beans anywhere in your components like the wiki page explains.

-igor



Thanks,
Naaman
--
View this message in context:
http://www.nabble.com/Spring-integration-question-tf3590701.html#a10035142
Sent from the Wicket - User mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to