This content has been marked as final.
Show 4 replies
-
1. Re: Getting Fqn and Key out of Object.
jason.greene Jul 8, 2008 2:59 PM (in response to navssurtani)Sounds like you want:
http://jira.jboss.org/jira/browse/PCACHE-72
and
http://jira.jboss.org/jira/browse/PCACHE-55
There is some internal API stuff you can do if you can't wait. -
2. Re: Getting Fqn and Key out of Object.
navssurtani Jul 9, 2008 6:15 AM (in response to navssurtani)Are they both still on track for 2.2.0GA? If not what are the internal modifications that I will have to make?
Cheers. -
3. Re: Getting Fqn and Key out of Object.
navssurtani Jul 9, 2008 6:17 AM (in response to navssurtani)Or basically, what is the internal API?
-
4. Re: Getting Fqn and Key out of Object.
jason.greene Jul 10, 2008 9:19 PM (in response to navssurtani)Yep these are both on track for GA.
The internal API methods you are after areAopUtil.findCacheInterceptor() and AopUtil.findCollectionInterceptor()
They both take an InstanceAdvisor, which can be obtained by casting to either org.jboss.aop.Advised or org.jboss.aop.proxy.ClassProxy if it is a collection type.
Once you get the interceptor you can get the unique internal Fqn off of that.