That looks like it.... But how do I set the JCS to use the hand configured ccm?
I couldn't find a way to do that looking at the JCS source. The internal CCM is private and I don't see any access methods. The JCS constructor takes a CCM but its protected :( Do I need to override JCS with my own version? On Thu, Aug 13, 2009 at 4:26 AM, Horton Simon <simon.hor...@uk.mizuho-sc.com > wrote: > Hi JK, > > I think this is what you are after: > http://jakarta.apache.org/jcs/faq.html#manual-configuration > > > Regards, > SIMON HORTON > SECURITIES SERVICES DEPARTMENT APPLICATION DEVELOPMENT > MIZUHO INTERNATIONAL PLC | BRACKEN HOUSE, 1 FRIDAY STREET, LONDON, EC4M > 9JA > T +44 (0)20 7090 6002 | E simon.hor...@uk.mizuho-sc.com > > -----Original Message----- > From: Jeffrey Kesselman [mailto:jef...@gmail.com] > Sent: 13 August 2009 04:06 > To: JCS Users List > Subject: Re: Dynamic composition of JCS caches > > What would be great, that I don't see, is if there was a call on the JCS > object that was equivalent to JCS.setConfigFilename(String) that was > something like JCS.setConfig(Properties) > > That would allow someone to synthetically create and set all the > properties > that are now loaded from fixed files.\ > > JK > > On Wed, Aug 12, 2009 at 10:56 PM, Jeffrey Kesselman > <jef...@gmail.com>wrote: > > > Hi Guys, > > > > One more stupid question. Most of the examples use ccf files. For my > use > > however I want to embed the caches in a larger program that sets them > up > > dynamically. In specific I need programmatic control over where the > remote > > client looks for its servers, but in general id like to drive this as > much > > as possible from code. > > > > Are there are examples around of creating remote client and server > caches > > programmatically? And of adding disk caching to them? > > > > Thanks > > > > JK > > > > -- > > ~~ Microsoft help desk says: reply hazy, ask again later. ~~ > > > > > > -- > ~~ Microsoft help desk says: reply hazy, ask again later. ~~ > > This message and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they are > addressed. If you have received this message in error please delete it and > any files transmitted with it, after notifying postmas...@uk.mizuho-sc.com > Any opinions expressed in this message may be those of the author and not > necessarily those of the company. The company accepts no responsibility for > the accuracy or completeness of any information contained herein. This > message is not intended to create legal relations between the company and > the recipient. > Recipients should please note that messages sent via the Internet may be > intercepted and that caution should therefore be exercised before > dispatching to the company any confidential or sensitive information. > Mizuho International plc Bracken House, One Friday Street, London EC4M 9JA. > TEL. 020 72361090. Wholly owned subsidiary of Mizuho Securities Co., Ltd. > Member of Mizuho Financial Group. Authorised and regulated by the Financial > Services Authority. Member of the London Stock Exchange. > > Registered in England No. 1203696. Registered office as above. > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: jcs-users-unsubscr...@jakarta.apache.org > For additional commands, e-mail: jcs-users-h...@jakarta.apache.org > > -- ~~ Microsoft help desk says: reply hazy, ask again later. ~~