[
https://issues.jboss.org/browse/AS7-6658?page=com.atlassian.jira.plugin.s...
]
Radoslav Husar commented on AS7-6658:
-------------------------------------
Avelino,
I suppose you are aware that you can use EE to inject CacheManager or Cache itself using
@Resource lookup?
{code}
@Resource(lookup="java:jboss/infinispan/container/mycachecontainer")
private final EmbeddedCacheManager manager;
{code}
When running in AS7 container I consider good practice to leave cache configuration to the
container.
Are you mostly after JCache caching annotations?
Include Infinispan CDI as a JBoss module
----------------------------------------
Key: AS7-6658
URL:
https://issues.jboss.org/browse/AS7-6658
Project: Application Server 7
Issue Type: Enhancement
Components: Clustering
Reporter: Avelino Martins
Assignee: Radoslav Husar
Fix For: 8.0.0.Alpha1
CDI has become an invaluable technology on any JavaEE project. I find hard to justify
having to include infinispan-cdi as a compile dependency on every project that uses ISPN.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira