Hey-ho,
The answer to the first question's easy:
new GeneralCacheAdministrator( properties );
As for thoughts on the second one...well, the <cacheModel> element
already supports nested <property> elements as setters. Perhaps it
could try and pass the properties as a Properties object instead, iff
there's an appropriate constructor.
Or maybe add something springish like a <constructor-property> element?
Kris
Hmmmm...this might require some investigation. Here's how you can help:
Investigate how OSCache allows properties to be specified
programmatically at runtime. Once that's been figured out, we might
be able to provide some mechanism whereby you can pass OSCache
properties into the cache model definition as part of the call to
SqlMapClientBuiler.
Cheers,
clinton
On 5/24/05, *Marco Berri* <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>> wrote:
Hi all!
I would ask anybody if you know the way to configurate OSCACHE while I
inizialized SQLMAPCLIENT.
I need to understand the way to setting property that fixes dynamic
cache localization on the disk: now this property is only
configurable
by OSCACHE.PROPERTIES configuration file, settled in to the CLASSES.
Anybody could help me?
Thanks a lot
El sciur Berri (likewise the "Iene" one).
--
Kris Jenkins
Email: [EMAIL PROTECTED]
Blog: http://cafe.jenkster.com/
Wiki: http://wiki.jenkster.com/