Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modular cache configs #6

Open
andrus opened this issue Feb 21, 2017 · 0 comments
Open

Modular cache configs #6

andrus opened this issue Feb 21, 2017 · 0 comments

Comments

@andrus
Copy link
Contributor

andrus commented Feb 21, 2017

Most things in Bootique are modular, meaning multiple modules can participate in assembly of the final "service". JCache should not be any different. We should allow multiple modules to define their own cache configurations, that should all be presented as a single merged config to the end user.

I can see two possible directions for solving this issue:

  1. Bootique may provide an uber CacheManager that internally routes between a map of CacheManagers by cache name.

  2. Bootique may learn how to merge provider-specific configuration resources into a single config file that is passed to the single cache manager. E.g. EhCache XML structure should allow us to combine multiple <cache> elements together.

@andrus andrus changed the title Modular cache configs (EhCache only?) Modular cache configs Feb 21, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant