anonymous wrote :
| 1) How do you set an Option? I thought there was an InvocationContext.currentContext()
or something. Doesn't seem to be. Only thing I see is a getter/setter in CacheSPI, but
my code shouldn't need CacheSPI.
|
I did do InvocationContext.currentContext() for a while, but ran into problems when using
multiple cache instances in the same JVM and thread.
You would now have to do CacheSPI.getInvocationContext(), although I see your point about
your not needing to use this interface. It is a bit heavy for the Cache interface though.
Any other thoughts, otherwise I fear it would just have to be in Cache.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3978800#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...