Hi,
I would like to have a general configuration file in my program (config.xml).
So, I would like to put the aop tag inside this file (it contains orther tags)
and use it to weave... is it possible?
I'm receiving the error:
java.lang.RuntimeException: java.lang.IllegalArgumentException: Unkno
Thanks Kabir,
It's working now!
Andre
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3853948#3853948
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3853948
---
This
Hi,
I'd like to intercept all calls to java.lang.reflect.Method->invoke(Object, Object[])
inside method junit.framework.TestCase->runTest() made from classes that extends
junit.framework.TestCase.
I'm using runtime weaving via xml and created the class:
public class TestCaseInterceptor extends
Thanks for your attention Bill,
AspectJ sintax is something like this:
public aspect Inheritance {
| declare parents: (junit.framework.TestCase+ && !junit.framework.TestCase &&
!test.CustomTestCase) extends test.CustomTestCase;
| }
that means "classes that extends TestCase and not equals
Bill,
In my opinion the sintax is ok (very useful to me!). My question is: "MySuperClass
must extend the class MyTestCase extends" is a JBoss AOP limitation or just a
implementation choice?
Andre
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3853784#3853784
Hi Kabir,
I'm migrating from AspectJ to JBoss AOP and my implementation use this approach.
I have some test cases implemented using JUnit, so these classes (Test1, Test2)
extends TestCase. I've created a new class (MyTestCase) that extends and modify
TestCase default implementation, adding new
Hi Kabir,
I have 3 classe (A, B and C). B extends A and C extends A. I'd like to make C extends
B...
Is there a way to do it using JBoos AOP?
Thanks,
AndrÃ
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3853378#3853378
Reply to the post :
http://www.jboss
Hi,
Can I force a class to extend other? somethig like:
| test.MySuperClass
|
And how about introduce a field? is it possible?
Thanks,
AndrÃÂ
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3853313#3853313
Reply to the post :
http://www.jboss.org/i
Hum... thanks!
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3853302#3853302
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3853302
---
This Newsletter Sponsored by:
Thanks Bill, it's working now.
But why have I to referece the aspect if the advice tag define the aspect class?
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3853295#3853295
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=r
Sorry... the correct method name in MyInstrumentation is instrument, not invoke
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3853290#3853290
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3853290
-
Hi,
I'm starting to work wih JBoss AOP...
I' have two aspects:
package aftt.weaving;
|
| import org.jboss.aop.joinpoint.MethodInvocation;
|
| public class MyInstrumentation {
|
| public Object invoke(MethodInvocation invocation) throws Throwable {
| Object result = nul
So... declare error and declare warning exist in JBoss AOP?
AndrÃ
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3852948#3852948
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3852948
--
With declare error is possible to specify compilation errors for static crosscutting:
http://dev.eclipse.org/viewcvs/indextech.cgi/~checkout~/aspectj-home/doc/progguide/semantics-declare.html#d0e6417
AndrÃ
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3852917
Hi,
Has JBoss AOP a construction like Aspectj "declare error"?
Thanks,
AndrÃ
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3852903#3852903
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3852903
-
It's working now. Thank you
AndrÃ
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3852568#3852568
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3852568
---
This S
Still not working (again)...
Is there a verbose mode?
Is there a way to send to you the files?
Thanks,
AndrÃ
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3852495#3852495
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p
Thanks, but still not working...
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3852492#3852492
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3852492
---
This SF.net
AOP xml:
|
|
|
|
|
Ant:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
View the original post :
http://www.jb
Class:
package teste;
public class HelloAOP {
public void callMe() {
System.out.println("AOP!");
}
public static void main(String args[]) {
new HelloAOP().callMe();
}
}
Aspect:
package teste;
import org.jboss.aop.advice.Interceptor;
import org.jboss.aop.joinpoint.Invocation;
pu
Hi,
I'm trying the reference guide example, and create a Ant project to do loadtime
weaving (I don't want to precompile). It's not working... the result is "AOP!" (not
"Hello, AOP!")
Any ideas?
Thanks,
AndrÃ
Marshall,
The Wizard ONLY works if I open all projects in workspace and restart Eclipse. I don't
see any relation between existent projects and the new one...
Is it a bug?
Thanks,
AndrÃ
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3852483#3852483
Reply t
I receive the same error independent of AFTT project status (opened/closed)
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3852475#3852475
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3852475
-
!SESSION Out 24, 2004 08:58:19.62 --
eclipse.buildId=I200406251208
java.version=1.4.2_03
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=pt_BR
!ENTRY org.eclipse.osgi Out 24, 2004 08:58:19.62
!MESSAGE An error occ
!SESSION Out 24, 2004 08:58:19.62 --
eclipse.buildId=I200406251208
java.version=1.4.2_03
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=pt_BR
!ENTRY org.eclipse.osgi Out 24, 2004 08:58:19.62
!MESSAGE An error occ
Sorry... not aspectwerks.bat
I'm looking for a Ant task to make Loadtime instrumentation. Precompiled
instrumentation is shown in:
http://docs.jboss.org/aop/aspect-framework/reference/en/html/compiling.html
But there is no information about Loadtime...
Thanks,
AndrÃÂ
View the original post :
Hi,
Is there a Ant task to perform online weaving (like aspectwerks.bat) ?
Thanks,
AndrÃ
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3852446#3852446
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3852446
-
Hi,
I'm using Eclipse 3.0.0 and would like to install JBossAOP standalone (I'm developing
a desktop application).
I've installed only JBoss-IDE AOP Standalone 1.0 (via 'Software Updates') but now I
receive a error when try to create a new JBossAOP project:
'Plug-in org.jboss.ide.eclipse.jdt.ao
28 matches
Mail list logo