Hi Jason, ----- Original Message ----- From: "Jason McKerr" <[EMAIL PROTECTED]> To: "OJB Users List" <[EMAIL PROTECTED]> Sent: Monday, August 04, 2003 6:58 PM Subject: Startup Cache
> Hey all, > > I'm basically trying to "start" the cache at startup time in a J2EE > application server. > > Is there a method somewhere that I can call that will instantiate the > cache that is defined by ObjectCacheClass in the OJB.properties file? > First, each PB instance create its own ObjectsCache instance using ObjectCacheFactory. So lookup a PB will "start" the cache. If you do some static initialization in your ObjectCache implementation you only need to lookup a PB instance (once). HTH regards, Armin > Jason > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
