-
Notifications
You must be signed in to change notification settings - Fork 305
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
CDI container should be able to inject Cache #188
Comments
We didn't have time to do this as it needs a little more thought. For example what is the semantics of @Inject Does it inject the same cache or a different cache? |
What do you think the default name should be when a user doesn't specify one. I've got working code for; @NamedCache(value="MyCache")
@Inject
private Cache cache; What will be the name for; @Inject
private Cache cache; JSR107 spec CacheMethodDetails Annotation used by interceptors uses a cache name fully qualified class name + . + method name + all parameters. So I was thinking a raw class injection should use the fully qualified class name as the cache name? Thoughts? |
|
…DBCPoolTest [QACI-445] - Disable PingJDBCPoolTest
currently the JCache CDI extension can inject CacheProvider and CacheManager. It mean a user still has to get a cache programmatically. I'd like to use:
Currently it throws an exception during application deployment:
The text was updated successfully, but these errors were encountered: