[
https://issues.jboss.org/browse/ISPN-7351?page=com.atlassian.jira.plugin....
]
Seto Kaiba edited comment on ISPN-7351 at 1/23/17 9:01 PM:
-----------------------------------------------------------
Maybe extends @ConfigureCache("name-cache") as @Qualifier would be great. Just a
small suggest. I mean the code as below.
{code:java}
@ConfigureCache("name-cache")
@Produces
public Configuration nameCacheConfig() {
ConfigurationBuilder builder = new ConfigurationBuilder();
builder.storeAsBinary().enable();
return builder.build();
}
@Inject
@ConfigureCache("name-cache")
Cache<String, String> nameCache;
{code}
was (Author: seto):
Maybe extends @ConfigureCache("name-cache") as @Qualifier would be great.
Just a small suggest.
I mean the code as below.
{code:java}
@ConfigureCache("name-cache")
@Produces
public Configuration nameCacheConfig() {
ConfigurationBuilder builder = new ConfigurationBuilder();
builder.storeAsBinary().enable();
return builder.build();
}
@Inject
@ConfigureCache("name-cache")
Cache<String, String> nameCache;
{code}
Support @Named in CDI extension
-------------------------------
Key: ISPN-7351
URL:
https://issues.jboss.org/browse/ISPN-7351
Project: Infinispan
Issue Type: Feature Request
Components: CDI Integration
Reporter: Sebastian Łaskawiec
Assignee: Sebastian Łaskawiec
Currently our users have to create lots and lots of {{@Qualifier}} type of annotations.
It would be desirable to support {{@Named("driver")}} type of annotations.
Useful links:
* {{@Named}} Javadoc:
http://docs.oracle.com/javaee/6/api/javax/inject/Named.html
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)