Announcement Announcement Module
Collapse
No announcement yet.
Dynamically set cache namespaces specific to each module Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Dynamically set cache namespaces specific to each module

    I posted a question earlier http://forum.springsource.org/showth...176#post429176 on how to dynamically set cache names, but I guess my question wasn't clear enough.

    What I'm trying to achieve are:
    1. Set up one module for caching, and other client modules will just add it as one of the depe
    1. Each client module may have its own set of caching properties to specify caching mechanisms to use, cache namespace, and other cache related parameters, such as memcached server address, cache expiry, etc. And these client modules are NOT spring projects so the spring dependency is only in the cache module.
    1. The cache module will read properties files for each client module, configure the cache manager accordingly.

    So is this doable? and can I add cacheManager to compositeManager dynamically at run time. and can I specify cache namespace at run time too?
    Thanks,

    David

  • #2
    Hi .
    I'm knew in this area , but hoe I understood , you can't add cacheManager to compositeManager dynamically at run time .

    Comment

    Working...
    X