"anil.saldhana(a)jboss.com" wrote : Is the call to AspectManager.getAdvisor
happening from aop side or it is messaging aspect?
I think that the problem is still on the aop side. But I can't see what is wrong with
that. Look at the piece of code below:
public synchronized ClassAdvisor getAdvisor(Class<?> clazz)
| {
| ClassAdvisor advisor = null;
| // See if one already exists
| advisor = (ClassAdvisor)findAdvisor(clazz);
| // if one does not
| if (advisor == null)
| {
| advisor = AdvisorFactory.getClassAdvisor(clazz, this);
| initialiseClassAdvisor(clazz, advisor);
| }
| return advisor;
| }
The line 707 is:
advisor = (ClassAdvisor)findAdvisor(clazz);
As the findAdvisor call doesn't appear at the stack, I would assume that the check is
being performed for the casting. But this doesn't make any sense to me. Do you have
any ideas?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4191024#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...