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
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
__
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
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
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
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
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
__
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:
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
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
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
___
I tried with this code;
|
| AspectManager.instance().getAdvisors() //NOTHING
|
| Map mapBindings = AspectManager.instance().getBindings();
| Iterator iBindings = mapBindings.values().iterator();
| System.out.println("pointcuts:");
| w
12 matches
Mail list logo