where to store connection pool singleton
where to store connection pool singleton
- Subject: where to store connection pool singleton
- From: Michael Engelhart <email@hidden>
- Date: Mon, 5 Jul 2004 11:27:13 -0500
I have a project where I have a singleton class that hands out
connection objects that have a significant startup time (think JDBC
connection pool - but this is a legacy system not a database). Where
is the best place to store this so I can startup/shutdown this pool by
overriding an event somewhere.
I know I can put the startup code in my Application class but is there
some sort of shutdown() or destroy() method that gets called before an
application shuts down that I can override? I didn't see anything in
the WOApplication API and after a lot of googling haven't found any
answers on the mailing lists for this type of scenario.
Thanks
Mike
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.