I am a newbie to AOP and have a little experience with mobile agents. I have Aglets
working with AspectJ, but would like to be able to use dynamic AOP - I am not sure if it
is going to be possible!!!!
Initially I am trying Voyager and the standalone version of AOP. As you are required to
set the classloader to one that is jboss specific, this affects the running of Voyager. as
per the warnings and errors below.
Also, if a migrating POJO moves to a new location with it's annotated aspect, would it
need to have the aop classloader running on the new location in order for the annotated
aspects to work?
Finally, when running an annotated aspect you need to specify the directory where the
annotated class would be i.e.
java -Djava.system.class.loader=org.jboss.aop.standalone.SystemClassLoader
-Djboss.aop.class.path=c:\jbossaop2\jboss-aop_1.5.1.GA\docs\aspect-framework\examples\annotated-aspects\
Driver
This is also causing a problem....
Any suggestions appreciated!!!
-------------------------------------------------------------------------------------
Voyager also has the following resourceloading api
http://www.ifi.unizh.ch/ddis/staff/vorburg/doc/api/Orbpro/com/objectspace...
-------------------------------------------------------------------------------------
[warn] Could not find class com.ms.security.PolicyEngine that com.objectspace.vo
yager.loader.MSVoyagerClassLoader references. It may not be in your classpath a
nd you may not be getting field and constructor weaving for this class.
javassist.NotFoundException: com.ms.security.SecurityClassLoader
at javassist.ClassPool.get(ClassPool.java:416)
at javassist.CtClassType.getSuperclass(CtClassType.java:602)
at org.jboss.aop.instrument.FieldAccessTransformer.buildFieldWrappers(Fi
eldAccessTransformer.java:80)
.......
[error] failed to transform: com.objectspace.voyager.loader.MSVoyagerClassLoader
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977387#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...