[jboss-dev-forums] [Design of JBossCache] - Re: JBCACHE-1004 and JBCACHE-1005

bstansberry@jboss.com do-not-reply at jboss.com
Thu Mar 15 09:57:07 EDT 2007


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#4028372

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4028372



More information about the jboss-dev-forums mailing list