[jboss-user] [JBoss AOP] - Re: Identification of classes intercepted by pointcuts

2006-12-29 Thread [EMAIL PROTECTED]
Hi, Robotics80! Sorry, but we discussed so many subjects on this thread that I don't know which declaration you're talking about. Please, let me know so I can answer your question. Thank's! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996928#3996928 Reply

[jboss-user] [JBoss AOP] - Re: Identification of classes intercepted by pointcuts

2006-12-28 Thread fabiocsilva
Ok, I go to look some technique to load all the classes View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996662#3996662 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996662 __

[jboss-user] [JBoss AOP] - Re: Identification of classes intercepted by pointcuts

2006-12-28 Thread robotics80
Could you tell me the name of the method or the class where it is declared? Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996611#3996611 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996611

[jboss-user] [JBoss AOP] - Re: Identification of classes intercepted by pointcuts

2006-12-27 Thread [EMAIL PROTECTED]
No, there isn't a jboss aop method to measure the time. What you can do is, first, load all classes. Then, measure the time it takes to execute intercepted join points. After that, run the same code without jboss aop... so you can compare the time it takes to execute the same join points withou

[jboss-user] [JBoss AOP] - Re: Identification of classes intercepted by pointcuts

2006-12-26 Thread fabiocsilva
Exists some method of jboss aop source code to make the measurement ?offline?? I am using metrics to evaluate jboss aop, but the dependence of the load of objects makes it difficult the evaluation View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996354#3996354

[jboss-user] [JBoss AOP] - Re: Identification of classes intercepted by pointcuts

2006-12-26 Thread [EMAIL PROTECTED]
Exactly. JBoss AOP instruments the classes in load time, matching pointcut expressions and associating the classes to advisors, if you are using load time weaving mode. So, once the class has been loaded by the JVM, you know the pointcut matching has already occurred for that class. All loaded

[jboss-user] [JBoss AOP] - Re: Identification of classes intercepted by pointcuts

2006-12-26 Thread fabiocsilva
This load can be made for classloader in load time weaving mode? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996327#3996327 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996327 __

[jboss-user] [JBoss AOP] - Re: Identification of classes intercepted by pointcuts

2006-12-26 Thread [EMAIL PROTECTED]
Hi, Fabio! The moment a JVM loads a class may vary depending on the JVM implementation... But, according to Java Specification, a JVM must have already loaded a class once it is actively used. This means that, after you use a class of your interest, this class will have been loaded. Like this:

[jboss-user] [JBoss AOP] - Re: Identification of classes intercepted by pointcuts

2006-12-23 Thread fabiocsilva
And how I load the affected classes ? I want exactly to discover the affected classes. Example: pointcut: within($instanceof{javax.servlet.http.HttpServlet}) Affected Classes: ServletA, ServletB, ServletC ... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=399

[jboss-user] [JBoss AOP] - Re: Identification of classes intercepted by pointcuts

2006-12-23 Thread [EMAIL PROTECTED]
Duh I only read your initial question! The advisors only become populated once you load the affected classes View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996061#3996061 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3

[jboss-user] [JBoss AOP] - Re: Identification of classes intercepted by pointcuts

2006-12-23 Thread [EMAIL PROTECTED]
You can get the bindings from the aspectmanager and get the advisors from those View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996060#3996060 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996060 ___

[jboss-user] [JBoss AOP] - Re: Identification of classes intercepted by pointcuts

2006-12-23 Thread fabiocsilva
I tried with this code; | | AspectManager.instance().getAdvisors() //NOTHING | | Map mapBindings = AspectManager.instance().getBindings(); | Iterator iBindings = mapBindings.values().iterator(); | System.out.println("pointcuts:"); | w