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
signature.asc
Description: OpenPGP digital signature