[jboss-user] [JBoss AOP] - Re: Aspect concept in JBoss AOP

2007-01-02 Thread fabiocsilva
But dynamic aop is possible with aspects ? Or aspects would have to implement Interceptor interface for this purpose? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3997318#3997318 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=

[jboss-user] [JBoss AOP] - Aspect concept in JBoss AOP

2007-01-02 Thread fabiocsilva
"Aspect" in JBoss AOP is internally transformed in "Interceptor" ? How to a aspect work in JBoss AOP? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3997310#3997310 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3997310

[jboss-user] [JBoss AOP] - Re: HotSwap in JBoss AS

2006-12-28 Thread fabiocsilva
RES0LVED: I used the "prepare" statement to instrument the pointcut View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996779#3996779 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996779

[jboss-user] [JBoss AOP] - HotSwap in JBoss AS

2006-12-28 Thread fabiocsilva
This code is enough for hotswap to function in the JBoss Application Server ? | # Setup JBoss sepecific properties | | #JAVA_OPTS="-Dprogram.name=$PROGNAME $JAVA_OPTS -javaagent:/opt/jboss/bin/aspectjweaver.jar" | | JAVA_OPTS="-Dprogram.name=$PROGNAME $JAVA_OPTS -javaagent:/opt/jbos

[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-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 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-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 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

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

2006-12-23 Thread fabiocsilva
There is some programmatical way to classify which classes had been intercepted by which pointcuts? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996011#3996011 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996011 __

[jboss-user] [JBoss AOP] - introduction of static method

2006-12-22 Thread fabiocsilva
Is possible to introduce static methods in a class? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995983#3995983 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995983 _

[jboss-user] [JBoss AOP] - Re: probleam in granularity of interception

2006-12-15 Thread fabiocsilva
It had a problem in a aspect, that was defined as a private class. I believed the validity of this construction. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994375#3994375 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply

[jboss-user] [JBoss AOP] - Re: probleam in granularity of interception

2006-12-11 Thread fabiocsilva
return true: | ... | [aopc] [debug] was controllers.HealthWatcherFacade converted: true | [aopc] [compiled] /home/fabio/workspace/HealthWatcher_AO_JBossAOP/bin/controllers/HealthWatcherFacade.class | [aopc] [trying to transform] exceptions.ExceptionMessages | [aop

[jboss-user] [JBoss AOP] - Re: probleam in granularity of interception

2006-12-11 Thread fabiocsilva
but | [aopc] [debug] was employee.EmployeeRecord converted: false | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3992934#3992934 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3992934 ___

[jboss-user] [JBoss AOP] - Re: probleam in granularity of interception

2006-12-11 Thread fabiocsilva
I changed file jboss-aop.xml. The shown error is abnormal because the class is present in jar of the WEB-INF/lib directory. | | | | | | | | | | Result: | 11:10:00,068 ERROR [STDERR] [warn] AOP Instrumentor failed to transform

[jboss-user] [JBoss AOP] - Re: probleam in granularity of interception

2006-12-11 Thread fabiocsilva
I changed the way of packaging, with loadtime weaving activated, without success. The instantiations are not intercepted if they occur of indirect way. I already tried to use keywords execution, call and construction. What it can be happening? View the original post : http://www.jbos

[jboss-user] [JBoss AOP] - Re: probleam in granularity of interception

2006-12-09 Thread fabiocsilva
JBoss Application Server: 4.05 GA JBoss AOP:1.5.2 The standalone mode run correctly. I make tests using a class with the method main. The problem only occurs when the system is in application server. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3992490#39924

[jboss-user] [JBoss AOP] - Re: probleam in granularity of interception

2006-12-09 Thread fabiocsilva
Somebody has some suggestion? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3992438#3992438 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3992438 ___ jboss-user mailing list

[jboss-user] [JBoss AOP] - Re: probleam in granularity of interception

2006-12-08 Thread fabiocsilva
essage of log when using keyword all | aroundRecordsCreation:class employee.EmployeeRecord$employeeRepository_Set | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3992258#3992258 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mo

[jboss-user] [JBoss AOP] - Re: probleam in granularity of interception

2006-12-08 Thread fabiocsilva
essage of log when using keyword all | aroundRecordsCreation:class employee.EmployeeRecord$employeeRepository_Set | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3992257#3992257 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mo

[jboss-user] [JBoss AOP] - Re: probleam in granularity of interception

2006-12-07 Thread fabiocsilva
Weaving mode: compile-time jboss-aop.xml: | | | | | | | | | | | | | | | | | | | | | | | | aspects.dataManagement.util.SystemRecord |

[jboss-user] [JBoss AOP] - Re: problem in granularity of interception

2006-12-07 Thread fabiocsilva
"fabiocsilva" wrote : I am needing to intercept the call of a constructor in my application. | When the instantiation occurs within of a method called for the system executes correctly. However, the instantiation occurs, in fact, inside of a constructor of another object. Th

[jboss-user] [JBoss AOP] - probleam in granularity of interception

2006-12-07 Thread fabiocsilva
I am needing to intercept the call of a constructor in my application. When the instantiation occurs within of a method called for the system executes correctly. However, the instantiation occurs, in fact, inside of a constructor of another object. This another object is singleton. In this case

[jboss-user] [JBoss AOP] - Re: Obscure error message

2006-12-07 Thread fabiocsilva
ok, I will not use modifier of access in pointcut View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3992126#3992126 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3992126 ___ jboss

[jboss-user] [JBoss AOP] - Re: inheritance of aspects

2006-12-07 Thread fabiocsilva
Good solution, thank you. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3992125#3992125 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3992125 ___ jboss-user mailing list jboss

[jboss-user] [JBoss AOP] - Re: Obscure error message

2006-12-05 Thread fabiocsilva
How I inform that the class can be public or private? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991258#3991258 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991258 ___ j

[jboss-user] [JBoss AOP] - Re: Obscure error message

2006-12-04 Thread fabiocsilva
Only to complement (xml complete): | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |

[jboss-user] [JBoss AOP] - Obscure error message

2006-12-04 Thread fabiocsilva
The pointcut | | generates the error | org.jboss.aop.pointcut.ast.PointcutExpressionParser$LookaheadSuccess | at org.jboss.aop.pointcut.ast.PointcutExpressionParser.(PointcutExpressionParser.java:3126) | at org.jboss.aop.pointcut.PointcutExpression.(PointcutE

[jboss-user] [JBoss AOP] - inheritance of aspects

2006-12-03 Thread fabiocsilva
I would like to know if some known strategy exists to simulate inheritance of aspects made in aspectj for jboss aop. I am working in a project based on aspectj with this characteristic. The project is very big then I is looking an alternative, instead of implementing the features in all "subclas

[jboss-user] [JBoss AOP] - Re: Pls help with a simple Mixin problem

2006-12-02 Thread fabiocsilva
You can remove the archives .class before compiling the sources. I use a modified version of build file. Try: | | | | | | | | | | | | | | | | | |

[jboss-user] [JBoss AOP] - Re: annotation-introduction + aspect oriented annotations

2006-12-02 Thread fabiocsilva
RESOLVED: It really has a problem with JBoss IDE. After some compilations the file jboss-aop.xml is ignored. Then I used "ant" and the way based on annotations of JBoss AOP. Running ! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3990748#3990748 Reply to th

[jboss-user] [JBoss AOP] - Re: annotation-introduction + aspect oriented annotations

2006-12-01 Thread fabiocsilva
I made download of version 1.5, but build did not function. error: anonymous wrote : | _default:compile-classes: | | BUILD FAILED | /home/fabio/uneb/projeto/bibliotecas/jboss-aop/svn/jboss-as-with-aop/tools/etc/buildmagic/buildmagic.ent:439: Could not create task or type of type: depe

[jboss-user] [JBoss AOP] - Re: annotation-introduction + aspect oriented annotations

2006-11-29 Thread fabiocsilva
Ok, I used the expression ?Nothing?: (: (: (? to indicate that the suggestion ?ElementType.TYPE? did not correct the problem. I go to make tests with the cited examples and later I publish the result. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3989903#3989

[jboss-user] [JBoss AOP] - Re: annotation-introduction + aspect oriented annotations

2006-11-29 Thread fabiocsilva
Somebody would have some ready example of annotation-introduction to order for me? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3989893#3989893 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3989893 ___

[jboss-user] [JBoss AOP] - Re: annotation-introduction + aspect oriented annotations

2006-11-29 Thread fabiocsilva
Nothing... :(:(:( The wiki of JBoss AOP has an example of annotation-introduction. However it did not execute in my pc. I am using JBoss IDE 2.0-Beta2 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3989883#3989883 Reply to the post : http://www.jboss.com/in

[jboss-user] [JBoss AOP] - Re: error when calling MethodInvocation

2006-11-28 Thread fabiocsilva
The problem was in the declaration of the advice, that was without "throws". But JBoss AOP did not point the error. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3989558#3989558 Reply to the post : http://www.jboss.com/index.html?module=bb&op=postin

[jboss-user] [JBoss AOP] - Re: annotation-introduction + aspect oriented annotations

2006-11-28 Thread fabiocsilva
I corrected the last error erasing the folder of build and recriando it. The main problem, however, still persists. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3989557#3989557 Reply to the post : http://www.jboss.com/index.html?module=bb&op=postin

[jboss-user] [JBoss AOP] - Re: annotation-introduction + aspect oriented annotations

2006-11-28 Thread fabiocsilva
The code not yet is executing. | | SystemRecord.java : | | package util; | | import java.lang.annotation.ElementType; | import java.lang.annotation.Target; | | @Target({ElementType.CONSTRUCTOR}) | public @interface SystemRecord { | | } | | SomeClass.java : :)

[jboss-user] [JBoss AOP] - annotation-introduction + aspect oriented annotations

2006-11-28 Thread fabiocsilva
I would like to use the feature "annotation-introduction" to introduce annotation in constructors and to capture them in "bind". For example: | | | @util.SystemRecord | | | | | | | But 1 - The form @util.SystemRecord->new (..) to mark the constructors i

[jboss-user] [JBoss AOP] - Re: error when calling MethodInvocation

2006-11-26 Thread fabiocsilva
The problem is that the advice had not declared "throws". But the error log is very obscure, is difficult to find the error View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3988644#3988644 Reply to the post : http://www.jboss.com/index.html?module=bb&op=postin

[jboss-user] [JBoss AOP] - Re: error when calling MethodInvocation

2006-11-24 Thread fabiocsilva
The aspect is a subclass and the advice is declared in superclass. I placed the advice in subclass and executed. JBoss AOP does not allow inheritance of advices? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3988425#3988425 Reply to the post : http://www.jb

[jboss-user] [JBoss AOP] - error when calling MethodInvocation

2006-11-24 Thread fabiocsilva
When the getInstance() method is called, occurs an error in the advice, but pointcut uses the clause "call". What it is made a mistake? | | | | | | | public Object aroundFacadeLocalCalls(MethodInvocation invocation) { | System.out.prin

[jboss-user] [JBoss AOP] - rmic and introduction together. It's possible ?

2006-11-18 Thread fabiocsilva
it has a class ( controllers.HealthWatcherFacade ) that implements an interface through "introduction" construction. I need to generate stubs and skeletons for this class, however after the correct ant instrumentation occurs the error: | | [aopc] Build Successful: 3011 ms | |

[jboss-user] [JBoss AOP] - Re: AOP Instrumentor failed to transform org.apache.catalina

2006-10-29 Thread fabiocsilva
SOLVED ! ;) This problem is caused by one bug in aop deployer? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3981628#3981628 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3981628

[jboss-user] [JBoss AOP] - Re: AOP Instrumentor failed to transform org.apache.catalina

2006-10-14 Thread fabiocsilva
I have the same problem View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3978368#3978368 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3978368 ___ jboss-user mailing list jboss-

[jboss-user] [JBoss AOP] - newbie in jboss aop - how to add methods to an existing clas

2006-10-03 Thread fabiocsilva
The only form of introduction is using interfaces? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3975936#3975936 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3975936 ___ jbo

[jboss-user] [JBoss AOP] - Re: AOP Instrumentor failed to transform class

2006-09-29 Thread fabiocsilva
I obtained to decide. I only placed all jars of the folder lib-50 in the folder lib of the context default:) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3975155#3975155 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=

[jboss-user] [JBoss AOP] - Re: AOP Instrumentor failed to transform class

2006-09-22 Thread fabiocsilva
I do not know which archives to modify/to remove. But I followed the JBssAOP Reference Documentation ... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3973550#3973550 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=39735

[jboss-user] [JBoss AOP] - AOP Instrumentor failed to transform class

2006-09-20 Thread fabiocsilva
I don't running the AOP application because error writed more below. This problem occurs in moment of interception. I want execute this example in JBoss Application Server: http://www.informit.com/articles/article.asp?p=174533&seqNum=2&rl=1 resources: - JBoss AS 4.04 - JBossAOP 1.5.1 - Ubuntu