<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
On 09/22/2011 06:56 AM, Kevin Pollet wrote:
<blockquote
cite="mid:CAA9DBcKeQ4riS2Y83Kz8DSsnecdQyWxWyD4_didQU5orEXbhmg@mail.gmail.com"
type="cite">I've made a test and I've got the same behavior. On
the Cache injection point I've got a warning saying that "no bean
is eligible for injection".</blockquote>
<br>
I updated to 5.1.0.ALPHA2 but still have the same problem with
unsatisfied dependency for <i>@Inject Cache<b><String,
String></b> defaultCache;</i><br>
This is a bug of JBoss CDI/Seam Solder Tools which can't resolve
parametrized beans correctly. If you change injection to <i>@Inject
Cache defaultCache; </i>then CDI Tools will resolve it to the
corresponding producer. I've created an issue -
<meta http-equiv="content-type" content="text/html;
charset=windows-1252">
<a href="https://issues.jboss.org/browse/JBIDE-9763">https://issues.jboss.org/browse/JBIDE-9763</a><br>
<br>
Other things seem to work. I can override default cash manager and
cash configuration and JBT picks them up.<br>
<br>
<blockquote
cite="mid:CAA9DBcKeQ4riS2Y83Kz8DSsnecdQyWxWyD4_didQU5orEXbhmg@mail.gmail.com"
type="cite">
<div><br>
</div>
<div>Which classes/annotations are missing? </div>
<div><br>
</div>
<div>I've just seen that I've missed to mention that <i>@ConfigureCache</i> annotation
is only available since Infinispan 5.1.0.ALPHA1 (this annotation
was previously named <i>@Infinispan </i>in 5.0/5.0.1).</div>
</blockquote>
<br>
I used 5.0.1.Final and didn't find <i>@ConfigureCache</i> there. No
problem with 5.1.0.<br>
</body>
</html>