Hi Rob

Have you looked at the hivetranse site? http://hivetranse.sourceforge.net/web/index.html has code using Hivemind to set up Hibernate services - this may be of some use to you.

Regards

Alan Chaney

Rob Dennett wrote:

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



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

Reply via email to