[jboss-dev-forums] [Design of JBossCache] - Re: API Issues integrating 2.0.0.DR1 in HEAD

manik.surtani@jboss.com do-not-reply at jboss.com
Wed Oct 18 07:37:49 EDT 2006


anonymous wrote : 
  | Also, it wasn't clear to me how to get ahold of a CacheSPI. Smack me if you already explained a while back and I forgot. Remember that casting is not an option if you are working with a JMX proxy. (Plus it's nasty ;)
  | 

Casting is nasty and unsupported.  The only correct way to get a hold of the CacheSPI is to write an Interceptor or CacheLoader, and the CacheSPI will be injected into your code.

Remember, this is not a client API.  :-)


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3979043#3979043

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



More information about the jboss-dev-forums mailing list