You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Ivan Dubrov <wf...@gmail.com> on 2007/06/11 07:56:05 UTC
Access other service configuration
Hello,
I want to extend HibernateSessionSourceImpl from tapestry-hibernate to
add automatic schema update support. However, I do not see a way to
access configuration contributed to HibernateSessionSource service from
my code (the list of packages containing the entities). Of course, I
could change all contributing modules to make them contribute to my
service (for example, "UpdatingHibernateSessionSource") and make modules
use my service (via contributing to Alias), but I don't like this
approach - it is too intrusive. I want to implement the schema updating
functionality as non-intrusive as possible, without modifying my modules
that provide entities.
Is there any way for some service/decorator to use other service
configuration?
--
WBR,
Ivan S. Dubrov