I have some services for my app which are singletons which need to have 
instances of a generic DAO class injected into them and the instances of the 
DAO class need to have an instance of a hibernate utility class injected into 
them which configures and creates the session factory and returns sessions 
which is also a singleton.  I am confused as to how I would wire this up in 
HiveMind.  Would I use create-instance to create the hibernate session service 
and then invoke-factory and somehow instantiate the dao instances and set them 
inside the construct tags?

 

Thanks for your help,

Rob


-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.385 / Virus Database: 268.4.6/323 - Release Date: 4/24/2006
 

Reply via email to