Haven't really thought about this, but I'd figure a cache built up by the
microcontainer (or any DI framework) would be untyped (i.e. not Cache<Object,
Object> but just plain old Cache). You can't cast it to Cache<Object,
Object>, so thereafter any calls against the DI-injected cache will give you those
lovely compiler warnings.
Not the end of the world, but wanted to point it out as a consideration.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4028372#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...