How to learn who is subscribed to my blog?
[JBossCache] - Re: Intercepting TreeCache.exists(Fqn) Call
Hello Guest
  
  • Login
• Register…
• Start blog
  • Who, Where, When
• What can I do?
• What to Read?
  • Polls
• Avatars
• Interests
  • Cities and Countries
• Random blog
• Users search
  • Search
• Games
• Tests
• QAIX
  • Сообщества
• Talxy Chat
• Horoscope
• Online
 
Зарегистрируйся!

QAIX > Java Programming > [JBossCache] - Re: Intercepting TreeCache.exists(Fq­n) Call 23 February 2005 20:11:44

  Recent blog posts: 
  They have birthday today: 
  Forums:   
  Discuss: 
  Recent forum topics: 
  Recent forum comments:
  Moderators:

[JBossCache] - Re: Intercepting TreeCache.exists(Fq­n) Call

Bela@Jboss.Com 23 February 2005 20:11:44
 exists() doesn *not* go through the interceptor chain, it will not need to acquire locks etc.

If you want to intercept it, I suggest using JBossAOP and attach an interceptor directly to exists()

View the original post : http://www.jboss.or­g/index.html?module=­bb&op=viewtopic&p=38­67553#3867553

Reply to the post : http://www.jboss.or­g/index.html?module=­bb&op=posting&mode=r­eply&p=3867553


-------------------­--------------------­----------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com­/?ad_id=6595&alloc_i­d=14396&op=click
Add comment
Sdanig 23 February 2005 19:25:37 permanent link ]
 "bela@jboss.com" wrote : exists() does *not* go through the interceptor chain, it will not need to acquire locks etc.
So I'm correct in assuming that the reason exists() doesn't go through the interceptor chain is that the standard interceptors aren't interested in that method call?

What about custom interceptors, though? If you are going to allow people to add their own interceptors, why should these custom interceptors be limited to the methods that the standard interceptors are interested in?

View the original post : http://www.jboss.or­g/index.html?module=­bb&op=viewtopic&p=38­67639#3867639

Reply to the post : http://www.jboss.or­g/index.html?module=­bb&op=posting&mode=r­eply&p=3867639


-------------------­--------------------­----------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com­/?ad_id=6595&alloc_i­d=14396&op=click
Add comment
Dnielben 23 February 2005 20:11:44 permanent link ]
 Hi !

I suggest you to use Aspects, it is quite easy to intercept the call using aspects with out modifiying the original program. I am using a similar approach to implement optimistic locking.

Try JbossCache or others aspect tool as AstectJ.

Regards
Daniel

View the original post : http://www.jboss.or­g/index.html?module=­bb&op=viewtopic&p=38­67647#3867647

Reply to the post : http://www.jboss.or­g/index.html?module=­bb&op=posting&mode=r­eply&p=3867647


-------------------­--------------------­----------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com­/?ad_id=6595&alloc_i­d=14396&op=click
Add comment
 

Add new comment

As:
Login:  Password:  
 
 
  
 
Пожалуйста, относитесь к собеседникам уважительно, не используйте нецензурные слова, не злоупотребляйте заглавными буквами, не публикуйте рекламу и объявления о купле/продаже, а также материалы нарушающие сетевой этикет или УК РФ.


QAIX > Java Programming > [JBossCache] - Re: Intercepting TreeCache.exists(Fq­n) Call 23 February 2005 20:11:44

see also:
Another Header headed nowhere
ODBC version of PHPMyAdmin?
MySQL Locking Question
пройди тесты:
see also:
DVD Protection Strengthened
Internet Explorer - Changed At Last?
Hi!

  Copyright © 2001—2008 QAIX
Idea: Miсhael Monashev
Помощь и задать вопросы можно в сообществе support.qaix.com.
Сообщения об ошибках оставляем в сообществе bugs.qaix.com.
Предложения и комментарии пишем в сообществе suggest.qaix.com.
Информация для родителей.
Write us at:
If you would like to report an abuse of our service, such as a spam message, please .