Paul Ferraro [
http://community.jboss.org/people/pferraro] created the discussion
"Re: ClassCastException with Infinispan using multiple applications"
To view the discussion, visit:
http://community.jboss.org/message/637306#637306
--------------------------------------------------------------
Try this:
@FooCache
@Produces @ApplicationScoped
Cache<String, Foo> fooCache() {
return container.<String,
Foo>getCache("foo").getAdvancedCache().with(Foo.class.getClassLoader());
}
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/637306#637306]
Start a new discussion in JBoss AS 7 Development at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]