<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/css" href="/rss.css"?>
<rss version="2.0">
  <channel>
    <title>AspectWerkz</title>
    <link>http://xircles.codehaus.org/projects/aspectwerkz/lists</link>
    <docs>This file is an RSS 2.0 file.</docs>
    <description>Feed of the latest messages for AspectWerkz</description>
    <language>en-US</language>
    <item>
      <title>[aspectwerkz-user] Pointcut for Thread.run()?</title>
      <creator>andreas.konrad@arcor...</creator>
      <pubDate>Sat, 08 Mar 2008 07:39:49 -0600</pubDate>
      <link>http://archive.aspectwerkz.codehaus.org/user/23693721.1204983589935.JavaMail.ngmail%40webmail10</link>
      <guid isPermaLink="true">http://archive.aspectwerkz.codehaus.org/user/23693721.1204983589935.JavaMail.ngmail%40webmail10</guid>
      <description>
        <table style="border: 1px solid #aaa">
          <tr>
            <td style="border-right: 1px solid #ccc">List</td>
            <td>user@aspectwerkz.codehaus.org</td>
          </tr>
          <tr>
            <td style="border-right: 1px solid #ccc">Author</td>
            <td>andreas.konrad@arcor...</td>
          </tr>
          <tr>
            <td style="border-right: 1px solid #ccc">Sent</td>
            <td>Sat Mar 08 07:39:49 -0600 2008</td>
          </tr>
        </table>
        <hr/>
        <pre>Hello AOP-Experts,

I have some code using threads like this:

public void run() {
  try {
    while (true) {
       /* some code */
       Thread.sleep( 2000 );
    }
  } catch ( InterruptedException e ) { e.printStackTrace(); }
}

Now I would like to know how much time it tooks from the moment a thread wakes up to the moment it goes sleeping again.
My problem is that I can't easily match on /* some code */ because it is not a simple function call. All code whose execution time I want to measure is included in the run method.

Can I formulate an adequate pointcut for this?

Can anyone help to fix this problem, please?

Thanks in advance,

Andreas





Jetzt komfortabel bei Arcor-Digital TV einsteigen: Mehr Happy Ends, mehr Herzschmerz, mehr Fernsehen! Erleben Sie 50 digitale TV Programme und optional 60 Pay TV Sender, einen elektronischen Programmf&#252;hrer mit Movie Star Bewertungen von TV Movie. Au&#223;erdem, aktuelle Filmhits und prickelnde Erotik in der Arcor-Videothek. Infos unter www.arcor.de/tv

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



</pre>
      </description>
    </item>
    <item>
      <title>[aspectwerkz-user] AspectWerkz fails to preprocess a class</title>
      <creator>Amit Modi (amitmodi@yahoo...)</creator>
      <pubDate>Fri, 22 Feb 2008 05:05:38 -0600</pubDate>
      <link>http://archive.aspectwerkz.codehaus.org/user/28241.97696.qm%40web35613.mail.mud.yahoo.com</link>
      <guid isPermaLink="true">http://archive.aspectwerkz.codehaus.org/user/28241.97696.qm%40web35613.mail.mud.yahoo.com</guid>
      <description>
        <table style="border: 1px solid #aaa">
          <tr>
            <td style="border-right: 1px solid #ccc">List</td>
            <td>user@aspectwerkz.codehaus.org</td>
          </tr>
          <tr>
            <td style="border-right: 1px solid #ccc">Author</td>
            <td>Amit Modi (amitmodi@yahoo...)</td>
          </tr>
          <tr>
            <td style="border-right: 1px solid #ccc">Sent</td>
            <td>Fri Feb 22 05:05:38 -0600 2008</td>
          </tr>
        </table>
        <hr/>
        <pre>Hi,

I was preprocessing the OracleDriver (oracle.jdbc.driver.OracleDriver) using aspectwerkz and it failed while preprocessing. I got the following error.

AW::WARNING - could not load class [oracle/security/pki/OracleWallet] as a resource in loader [sun.misc.Launcher$AppClassLoader@1d14e6]

java.io.IOException: Class not found
    at org.codehaus.aspectwerkz.org.objectweb.asm.ClassReader.readClass(Ljava.io.InputStream;)[B(Unknown Source)
    at org.codehaus.aspectwerkz.org.objectweb.asm.ClassReader.&lt;init&gt;(Ljava.io.InputStream;)V(Unknown Source)
    at org.codehaus.aspectwerkz.reflect.impl.asm.AsmClassInfo.getClassInfo(Ljava.io.InputStream;Ljava.lang.ClassLoader;)Lorg.codehaus.aspectwerkz.reflect.ClassInfo;(AsmClassInfo.java:304)
    at org.codehaus.aspectwerkz.reflect.impl.asm.AsmClassInfo.getClassInfo(Ljava.io.InputStream;Ljava.lang.ClassLoader;Z)Lorg.codehaus.aspectwerkz.reflect.ClassInfo;(AsmClassInfo.java:331)
    at org.codehaus.aspectwerkz.reflect.impl.asm.AsmClassInfo.createClassInfoFromStream(Ljava.lang.String;Ljava.lang.ClassLoader;Z)Lorg.codehaus.aspectwerkz.reflect.ClassInfo;(AsmClassInfo.java:790)
    at org.codehaus.aspectwerkz.reflect.impl.asm.AsmClassInfo.getClassInfo(Ljava.lang.String;Ljava.lang.ClassLoader;)Lorg.codehaus.aspectwerkz.reflect.ClassInfo;(AsmClassInfo.java:273)
    at org.codehaus.aspectwerkz.transform.inlining.weaver.ConstructorCallVisitor$ReplaceNewInstructionCodeAdapter.visitTypeInsn(ILjava.lang.String;)V(ConstructorCallVisitor.java:252)
    at org.codehaus.aspectwerkz.org.objectweb.asm.CodeAdapter.visitTypeInsn(ILjava.lang.String;)V(Unknown Source)
    at org.codehaus.aspectwerkz.transform.inlining.weaver.AfterObjectInitializationCodeAdapter.visitTypeInsn(ILjava.lang.String;)V(AfterObjectInitializationCodeAdapter.java:43)
    at org.codehaus.aspectwerkz.org.objectweb.asm.CodeAdapter.visitTypeInsn(ILjava.lang.String;)V(Unknown Source)
    at org.codehaus.aspectwerkz.org.objectweb.asm.CodeAdapter.visitTypeInsn(ILjava.lang.String;)V(Unknown Source)
    at org.codehaus.aspectwerkz.org.objectweb.asm.ClassReader.accept(Lorg.codehaus.aspectwerkz.org.objectweb.asm.ClassVisitor;[Lorg.codehaus.aspectwerkz.org.objectweb.asm.Attribute;Z)V(Unknown Source)
    at org.codehaus.aspectwerkz.transform.inlining.InliningWeavingStrategy.transform(Ljava.lang.String;Lorg.codehaus.aspectwerkz.transform.Context;)V(InliningWeavingStrategy.java:198)
    at org.codehaus.aspectwerkz.transform.AspectWerkzPreProcessor._preProcess(Ljava.lang.String;[BLjava.lang.ClassLoader;)Lorg.codehaus.aspectwerkz.transform.Context;(AspectWerkzPreProcessor.java:173)
    at org.codehaus.aspectwerkz.transform.AspectWerkzPreProcessor.preProcess(Ljava.lang.String;[BLjava.lang.ClassLoader;)[B(AspectWerkzPreProcessor.java:148)
    at org.codehaus.aspectwerkz.extension.jrockit.JRockitPreProcessor.preProcess(Ljava.lang.ClassLoader;Ljava.lang.String;[B)[B(JRockitPreProcessor.java:85)
    at jrockit.vm.ClassPreProcessorManager.notifyClassPreProcessor(ILjava.lang.String;[B)[B(Unknown Source)
    at jrockit.vm.Classes.defineClass0(ILjava.lang.String;[BII)I(Unknown Source)
    at jrockit.vm.Classes.defineClass(Ljava.lang.ClassLoader;Ljava.lang.String;[BII)Ljava.lang.Class;(Unknown Source)
    at java.lang.ClassLoader.defineClass(Ljava.lang.String;[BIILjava.security.ProtectionDomain;)Ljava.lang.Class;(Unknown Source)
    at java.security.SecureClassLoader.defineClass(Ljava.lang.String;[BIILjava.security.CodeSource;)Ljava.lang.Class;(SecureClassLoader.java:123)
    at java.net.URLClassLoader.defineClass(Ljava.lang.String;Lsun.misc.Resource;)Ljava.lang.Class;(URLClassLoader.java:251)
    at java.net.URLClassLoader.access$100(Ljava.net.URLClassLoader;Ljava.lang.String;Lsun.misc.Resource;)Ljava.lang.Class;(URLClassLoader.java:55)
    at java.net.URLClassLoader$1.run()Ljava.lang.Object;(URLClassLoader.java:194)
    at jrockit.vm.AccessController.do_privileged_exc(Ljava.security.PrivilegedExceptionAction;Ljava.security.AccessControlContext;I)Ljava.lang.Object;(Unknown Source)
    at jrockit.vm.AccessController.doPrivileged(Ljava.security.PrivilegedExceptionAction;Ljava.security.AccessControlContext;)Ljava.lang.Object;(Unknown Source)
    at java.net.URLClassLoader.findClass(Ljava.lang.String;)Ljava.lang.Class;(URLClassLoader.java:187)
    at java.lang.ClassLoader.loadClass(Ljava.lang.String;Z)Ljava.lang.Class;(Unknown Source)
    at sun.misc.Launcher$AppClassLoader.loadClass(Ljava.lang.String;Z)Ljava.lang.Class;(Launcher.java:274)
    at java.lang.ClassLoader.loadClass(Ljava.lang.String;)Ljava.lang.Class;(Unknown Source)
    at java.lang.ClassLoader.loadClassFromNative(II)Ljava.lang.Class;(Unknown Source)
    at jrockit.vm.Classes.defineClass0(ILjava.lang.String;[BII)I(Unknown Source)


I did some research and found that if oraclepki.jar which has the OracleWallet class is not in the classpath, we get this error. If I add that to the classpath along with ojdbc14.jar, we do not get this error. However the oraclepki.jar is not mandatory for oracle driver to work, so aspectwerkz preprocessor should be able to preprocess the OracleDriver even if oraclepki.jar is not in classpath.

I tried to look through the source code and saw that even if we fail to obtain a dependent class as stream, we still call new ASMClassInfo(stream) on it which causes this exception and hence complete preprocessing fails. I looked at the CVS repository and see that there has been some change in version 1.15 of AsmClassInfo which probably resulted in this. (http://cvs.aspectwerkz.codehaus.org/browse/aspectwerkz/aspectwerkz4/src/main/org/codehaus/aspectwerkz/reflect/impl/asm/AsmClassInfo.java?r1=1.14&amp;r2=1.15)

if (componentClassAsStream == null) {
                // might be more than one dimension
                if (componentName.indexOf('[') &gt; 0) {
                    return getClassInfo(componentName, loader);
                }
                System.out.println(
                        "AW::WARNING - could not load class ["
                        + componentName
                        + "] as a resource in loader ["
                        + loader
                        + "]"
                );
                componentInfo = new ClassInfo.NullClassInfo();
            }
//The 1.14 version returned the ClassInfo.NullClassInfo() if componentClassAsStream was null and did not proceed further
            try {
                componentInfo = AsmClassInfo.getClassInfo(componentClassAsStream, loader, lazyAttributes);
            } finally {
                try {
                    componentClassAsStream.close();
                } catch (Exception e) {
                    ;
                }
            }


Any help with this will be greatly appreciated

Thanks Much
Amit









      ____________________________________________________________________________________
Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs
</pre>
      </description>
    </item>
    <item>
      <title>[aspectwerkz-user] Exception while running a standalone java application (jdk 1.3) using aspectwerkz</title>
      <creator>lalithamba.vishwanathaiah@wipro...</creator>
      <pubDate>Tue, 19 Feb 2008 06:19:51 -0600</pubDate>
      <link>http://archive.aspectwerkz.codehaus.org/user/79E6823080C67C4780654AFA96785802010E6F0A%40BLR-SJP-MBX01.wipro.com</link>
      <guid isPermaLink="true">http://archive.aspectwerkz.codehaus.org/user/79E6823080C67C4780654AFA96785802010E6F0A%40BLR-SJP-MBX01.wipro.com</guid>
      <description>
        <table style="border: 1px solid #aaa">
          <tr>
            <td style="border-right: 1px solid #ccc">List</td>
            <td>user@aspectwerkz.codehaus.org</td>
          </tr>
          <tr>
            <td style="border-right: 1px solid #ccc">Author</td>
            <td>lalithamba.vishwanathaiah@wipro...</td>
          </tr>
          <tr>
            <td style="border-right: 1px solid #ccc">Sent</td>
            <td>Tue Feb 19 06:19:51 -0600 2008</td>
          </tr>
        </table>
        <hr/>
        <pre>Hi,
 
Pl reply as this is very urgent !
 
Environment : HP Unix
JDK - 1.3.1
 
I am trying to run a sample standalone java application in HP Unix using aspectwerkz as below :
 
===============================================
export ASPECTWERKZ_HOME=/home/patnipb/bv1to1_var/backend_services/aspectwerkz
echo $ASPECTWERKZ_HOME
/home/patnipb/bv1to1_var/backend_services/aspectwerkz/bin/aspectwerkz -Xbootclasspath/p:/home/patnipb/bv1to1_var/backend_services/enhanced.jar -Xbootclasspath/a:/home/patnipb/bv1to1_var/backend_services/aspectwerkz/lib/aspectwerkz-2.0.jar:/home/patnipb/bv1to1_var/backend_services/aspectwerkz/lib/piccolo-1.03.jar:/home/patnipb/bv1to1_var/backend_services/aspectwerkz/lib/dom4j-1.4.jar:/home/patnipb/bv1to1_var/backend_services/aspectwerkz/lib/jrexx-1.1.1.jar:/home/patnipb/bv1to1_var/backend_services/aspectwerkz/lib/trove-1.0.2.jar:/home/patnipb/eprofilerstandalone/eProfiler.jar -Daspectwerkz.definition.file=/home/patnipb/eprofiler_standalone/LeakExample/aop.xml -Daspectwerkz.transform.verbose=true -cp  /home/patnipb/eprofilerstandalone/eProfiler.jar:/home/patnipb/eprofiler_standalone/LeakExample/classes demos.memory.leakexample.LeakExample
 
===================================================
 
 
 I get the following error :
 
=======================================================================
java.lang.IllegalArgumentException: Unknown signal: HUP
        at sun.misc.Signal.&lt;init&gt;(Unknown Source)
        at java.lang.Terminator.setup(Unknown Source)
        at java.lang.Shutdown.add(Unknown Source)
        at java.lang.Runtime.addShutdownHook(Unknown Source)
        at org.codehaus.aspectwerkz.hook.ProcessStarter.run(ProcessStarter.java:225)
        at org.codehaus.aspectwerkz.hook.ProcessStarter.main(ProcessStarter.java:271)
AspectWerkz - INFO - Pre-processor org.codehaus.aspectwerkz.transform.AspectWerkzPreProcessor loaded and initialized
sun.misc.Launcher$AppClassLoader@34d3d5@3462101:demos.memory.leakexample.LeakExample[main]
 ???? loader object sun.misc.Launcher$ExtClassLoader@4afa9e
 ???? loader class name sun.misc.Launcher$ExtClassLoader
 ???? ClassLoader.getSystemClassLoader() object sun.misc.Launcher$AppClassLoader@34d3d5
 ???? ClassLoader.getSystemClassLoader() class name sun.misc.Launcher$AppClassLoader
 ???? s_disableSystemWideDefinition false
 ???? DefinitionLoader.getDefaultDefinition(loader) [org.codehaus.aspectwerkz.definition.SystemDefinition@e96f8edf]
loader.getResource(WEB_WEB_INF_XML_FILE) ==&gt;&gt; null
loader.getResources(AOP_WEB_INF_XML_FILE) ==&gt;&gt; sun.misc.CompoundEnumeration@1d0a4f
******************************************************************
* ClassLoader = sun.misc.Launcher$ExtClassLoader@4afa9e@4913822
* SystemID = virtual_4913822, 1 aspects.
******************************************************************
 ???? loader object sun.misc.Launcher$AppClassLoader@34d3d5
 ???? loader class name sun.misc.Launcher$AppClassLoader
 ???? ClassLoader.getSystemClassLoader() object sun.misc.Launcher$AppClassLoader@34d3d5
 ???? ClassLoader.getSystemClassLoader() class name sun.misc.Launcher$AppClassLoader
 ???? s_disableSystemWideDefinition false
 ???? DefinitionLoader.getDefaultDefinition(loader) [org.codehaus.aspectwerkz.definition.SystemDefinition@e96f8edf]
loader.getResource(WEB_WEB_INF_XML_FILE) ==&gt;&gt; null
loader.getResources(AOP_WEB_INF_XML_FILE) ==&gt;&gt; sun.misc.CompoundEnumeration@91cee
******************************************************************
* ClassLoader = sun.misc.Launcher$AppClassLoader@34d3d5@3462101
* SystemID = virtual_3462101, 1 aspects.
* SystemID = Methods1, 2 aspects.
* file:/home/patnipb/eprofiler_standalone/LeakExample/aop.xml
* file:/home/patnipb/eprofiler_standalone/LeakExample/classes/META-INF/aop.xml
******************************************************************
Exception in thread "main" java.lang.IllegalAccessError: try to access method [Ljava.lang.Object;.clone()Ljava/lang/Object; from class gnu.trove.TObjectHash

========================================================================
 
Any idea why we get this error ?

Thanks and Regards,
Lalithamba.

 

The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. 

WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.

www.wipro.com


</pre>
      </description>
    </item>
    <item>
      <title>[aspectwerkz-user] RE: aop.xml not getting recognised</title>
      <creator>lalithamba.vishwanathaiah@wipro...</creator>
      <pubDate>Thu, 14 Feb 2008 07:10:19 -0600</pubDate>
      <link>http://archive.aspectwerkz.codehaus.org/user/79E6823080C67C4780654AFA9678580263E3CD%40BLR-SJP-MBX01.wipro.com</link>
      <guid isPermaLink="true">http://archive.aspectwerkz.codehaus.org/user/79E6823080C67C4780654AFA9678580263E3CD%40BLR-SJP-MBX01.wipro.com</guid>
      <description>
        <table style="border: 1px solid #aaa">
          <tr>
            <td style="border-right: 1px solid #ccc">List</td>
            <td>user@aspectwerkz.codehaus.org</td>
          </tr>
          <tr>
            <td style="border-right: 1px solid #ccc">Author</td>
            <td>lalithamba.vishwanathaiah@wipro...</td>
          </tr>
          <tr>
            <td style="border-right: 1px solid #ccc">Sent</td>
            <td>Thu Feb 14 07:10:19 -0600 2008</td>
          </tr>
        </table>
        <hr/>
        <pre> 
 


Hello,
 
In the below scenario,  Once I run the client, the aop.xml gets recognsied by -Daspectwerkz.definition.file=path/aop.xml but the application is not getting pointcut.  Any clues why ?
Thanks and Regards,
Lalithamba.

________________________________

From: lalithamba.vishwanathaiah@wipro.com [mailto:lalithamba.vishwanathaiah@wipro.com]
Sent: Wed 13-Feb-08 8:14 PM
To: user@aspectwerkz.codehaus.org; avasseur@gmail.com
Subject: aop.xml not getting recognised


Hi,
 
I am using Aspectwerkz to pointcut a standalone CORBA application which is running under naming service TAO in LINUX.
 
I have the following files :
 
Hello.idl
HelloClient.java
HelloServer.java
 
 
Now I execute the idl file using idlj utility of Java as follows : 
==============================================
idlj -fall Hello.idl (this creates the stubs)
 
Compile the Client and Server file : 
========================
javac HelloClient.java HelloApp/*.java
javac HelloServer.java HelloApp/*.java
 
set ASPECTWERKZ_HOME=D:\aspectwerkz-2.0

======================================================================
 
Now the naming service is running on linux.
 
I run HelloServer as follows : 
 
java -Xbootclasspath/p:.:/opt/ALNA/bin/avalon-framework-4.1.5.jar:/opt/ALNA/bin/jacorb.jar:/opt/ALNA/bin/logkit-1.2.jar: -DORBInitRef.NameService=corbaloc:iiop:10.116.69.123:23000/NameService HelloServer
 
This shows : HelloServer ready and waiting ...
 
Next I am running HelloClient using aspectwerkz as :
 
/opt/aspectwerkz/bin/aspectwerkz -javaagent:/opt/eprofiler/Hello/eProfiler.jar -cp /opt/eprofiler/Hello/eProfiler.jar:/opt/eprofiler/Hello/aopfile.jar -Xbootclasspath/p:.:/opt/eprofiler/Hello/aopfile.jar:/opt/eprofiler/Hello:/opt/eprofiler/Hello/eProfiler.jar:/opt/ALNA/bin/avalon-framework-4.1.5.jar:/opt/ALNA/bin/jacorb.jar:/opt/ALNA/bin/logkit-1.2.jar:/opt/aspectwerkz/lib/aspectwerkz-core-2.0.jar:/opt/aspectwerkz/lib/aspectwerkz-2.0.jar: -DORBInitRef.NameService=corbaloc:iiop:10.116.69.123:23000/NameService HelloClient
 
After I run this, the application is not getting cross-cut.  Only the SOP of the program is getting printed.  My thought is aop.xml is not getting recognised.
aop.xml is present in META-INF directory and also I have placed it in aopfile.jar which just has META-INF directory with aop.xml file in it.  
 
Any help in recognising the aop.xml is appreciated.
 
Thanks in advance.

 
 
 
 
Thanks and Regards,
Lalithamba.


The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. 

WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.

www.wipro.com


</pre>
      </description>
    </item>
    <item>
      <title>[aspectwerkz-user] Autoreply: [aspectwerkz-user] aop.xml not getting recognised</title>
      <creator>egnigien@all-seasonsrealty...</creator>
      <pubDate>Wed, 13 Feb 2008 08:44:40 -0600</pubDate>
      <link>http://archive.aspectwerkz.codehaus.org/user/B0026439745%40mailsite-7.core.advancedaccess.com</link>
      <guid isPermaLink="true">http://archive.aspectwerkz.codehaus.org/user/B0026439745%40mailsite-7.core.advancedaccess.com</guid>
      <description>
        <table style="border: 1px solid #aaa">
          <tr>
            <td style="border-right: 1px solid #ccc">List</td>
            <td>user@aspectwerkz.codehaus.org</td>
          </tr>
          <tr>
            <td style="border-right: 1px solid #ccc">Author</td>
            <td>egnigien@all-seasonsrealty...</td>
          </tr>
          <tr>
            <td style="border-right: 1px solid #ccc">Sent</td>
            <td>Wed Feb 13 08:44:40 -0600 2008</td>
          </tr>
        </table>
        <hr/>
        <pre>Thank you for your inquiry...we will replay shortly after recieving your message.

Thomas Gregory   Owner/ Broker
ERA All Seasons Realty
1623 Virginia Road
Edenton, NC 27932
252-482-4050  office


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



</pre>
      </description>
    </item>
    <item>
      <title>[aspectwerkz-user] Autoreply: [aspectwerkz-user] aop.xml not getting recognised</title>
      <creator>egnigien@all-seasonsrealty...</creator>
      <pubDate>Wed, 13 Feb 2008 08:44:40 -0600</pubDate>
      <link>http://archive.aspectwerkz.codehaus.org/user/B0026439745%40mailsite-7.core.advancedaccess.com</link>
      <guid isPermaLink="true">http://archive.aspectwerkz.codehaus.org/user/B0026439745%40mailsite-7.core.advancedaccess.com</guid>
      <description>
        <table style="border: 1px solid #aaa">
          <tr>
            <td style="border-right: 1px solid #ccc">List</td>
            <td>user@aspectwerkz.codehaus.org</td>
          </tr>
          <tr>
            <td style="border-right: 1px solid #ccc">Author</td>
            <td>egnigien@all-seasonsrealty...</td>
          </tr>
          <tr>
            <td style="border-right: 1px solid #ccc">Sent</td>
            <td>Wed Feb 13 08:44:40 -0600 2008</td>
          </tr>
        </table>
        <hr/>
        <pre>Thank you for your inquiry...we will replay shortly after recieving your message.

Thomas Gregory   Owner/ Broker
ERA All Seasons Realty
1623 Virginia Road
Edenton, NC 27932
252-482-4050  office


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



</pre>
      </description>
    </item>
    <item>
      <title>[aspectwerkz-user] aop.xml not getting recognised</title>
      <creator>lalithamba.vishwanathaiah@wipro...</creator>
      <pubDate>Wed, 13 Feb 2008 08:44:24 -0600</pubDate>
      <link>http://archive.aspectwerkz.codehaus.org/user/79E6823080C67C4780654AFA9678580263E3BE%40BLR-SJP-MBX01.wipro.com</link>
      <guid isPermaLink="true">http://archive.aspectwerkz.codehaus.org/user/79E6823080C67C4780654AFA9678580263E3BE%40BLR-SJP-MBX01.wipro.com</guid>
      <description>
        <table style="border: 1px solid #aaa">
          <tr>
            <td style="border-right: 1px solid #ccc">List</td>
            <td>user@aspectwerkz.codehaus.org</td>
          </tr>
          <tr>
            <td style="border-right: 1px solid #ccc">Author</td>
            <td>lalithamba.vishwanathaiah@wipro...</td>
          </tr>
          <tr>
            <td style="border-right: 1px solid #ccc">Sent</td>
            <td>Wed Feb 13 08:44:24 -0600 2008</td>
          </tr>
        </table>
        <hr/>
        <pre>Hi,
 
I am using Aspectwerkz to pointcut a standalone CORBA application which is running under naming service TAO in LINUX.
 
I have the following files :
 
Hello.idl
HelloClient.java
HelloServer.java
 
 
Now I execute the idl file using idlj utility of Java as follows : 
==============================================
idlj -fall Hello.idl (this creates the stubs)
 
Compile the Client and Server file : 
========================
javac HelloClient.java HelloApp/*.java
javac HelloServer.java HelloApp/*.java
 
set ASPECTWERKZ_HOME=D:\aspectwerkz-2.0

======================================================================
 
Now the naming service is running on linux.
 
I run HelloServer as follows : 
 
java -Xbootclasspath/p:.:/opt/ALNA/bin/avalon-framework-4.1.5.jar:/opt/ALNA/bin/jacorb.jar:/opt/ALNA/bin/logkit-1.2.jar: -DORBInitRef.NameService=corbaloc:iiop:10.116.69.123:23000/NameService HelloServer
 
This shows : HelloServer ready and waiting ...
 
Next I am running HelloClient using aspectwerkz as :
 
/opt/aspectwerkz/bin/aspectwerkz -javaagent:/opt/eprofiler/Hello/eProfiler.jar -cp /opt/eprofiler/Hello/eProfiler.jar:/opt/eprofiler/Hello/aopfile.jar -Xbootclasspath/p:.:/opt/eprofiler/Hello/aopfile.jar:/opt/eprofiler/Hello:/opt/eprofiler/Hello/eProfiler.jar:/opt/ALNA/bin/avalon-framework-4.1.5.jar:/opt/ALNA/bin/jacorb.jar:/opt/ALNA/bin/logkit-1.2.jar:/opt/aspectwerkz/lib/aspectwerkz-core-2.0.jar:/opt/aspectwerkz/lib/aspectwerkz-2.0.jar: -DORBInitRef.NameService=corbaloc:iiop:10.116.69.123:23000/NameService HelloClient
 
After I run this, the application is not getting cross-cut.  Only the SOP of the program is getting printed.  My thought is aop.xml is not getting recognised.
aop.xml is present in META-INF directory and also I have placed it in aopfile.jar which just has META-INF directory with aop.xml file in it.  
 
Any help in recognising the aop.xml is appreciated.
 
Thanks in advance.

 
 
 
 

Thanks and Regards,
Lalithamba.


The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. 

WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.

www.wipro.com


</pre>
      </description>
    </item>
    <item>
      <title>[aspectwerkz-user] org.codehaus.aspectwerkz.aspect.management.NoAspectBoundException</title>
      <creator>shylaja (shylaja.sannegowda@wipro...)</creator>
      <pubDate>Wed, 26 Dec 2007 06:37:51 -0600</pubDate>
      <link>http://archive.aspectwerkz.codehaus.org/user/14501742.post%40talk.nabble.com</link>
      <guid isPermaLink="true">http://archive.aspectwerkz.codehaus.org/user/14501742.post%40talk.nabble.com</guid>
      <description>
        <table style="border: 1px solid #aaa">
          <tr>
            <td style="border-right: 1px solid #ccc">List</td>
            <td>user@aspectwerkz.codehaus.org</td>
          </tr>
          <tr>
            <td style="border-right: 1px solid #ccc">Author</td>
            <td>shylaja (shylaja.sannegowda@wipro...)</td>
          </tr>
          <tr>
            <td style="border-right: 1px solid #ccc">Sent</td>
            <td>Wed Dec 26 06:37:51 -0600 2007</td>
          </tr>
        </table>
        <hr/>
        <pre>
I am using websphere portal server 6.0. I am putting all aspectwerkz jar
files in ws.ext.dirs class path. but these jar files are not recognised, is
it because of aop.xml or any otherway so that i can put all these jar files
in classpath. I am getting the error shown below. 

org.codehaus.aspectwerkz.aspect.management.NoAspectBoundException:
NoAspectBound: NoAspectBound: Could not find AspectDefinition -
samples/com.wipro.eprofile.aspect.metrics.aspect.WebTierAspect 

Please let me know how I should add these files in websphere portal server.

Thanks in advance.

Shylaja.
-- 
View this message in context: http://www.nabble.com/org.codehaus.aspectwerkz.aspect.management.NoAspectBoundException-tp14501742p14501742.html
Sent from the AspectWerkz - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email


</pre>
      </description>
    </item>
    <item>
      <title>[aspectwerkz-user] Aspect selection due to caller (newbe)</title>
      <creator>tit&amp;ouml;f (mailinglist@j-b-s...)</creator>
      <pubDate>Wed, 19 Dec 2007 05:23:57 -0600</pubDate>
      <link>http://archive.aspectwerkz.codehaus.org/user/14415135.post%40talk.nabble.com</link>
      <guid isPermaLink="true">http://archive.aspectwerkz.codehaus.org/user/14415135.post%40talk.nabble.com</guid>
      <description>
        <table style="border: 1px solid #aaa">
          <tr>
            <td style="border-right: 1px solid #ccc">List</td>
            <td>user@aspectwerkz.codehaus.org</td>
          </tr>
          <tr>
            <td style="border-right: 1px solid #ccc">Author</td>
            <td>tit&amp;ouml;f (mailinglist@j-b-s...)</td>
          </tr>
          <tr>
            <td style="border-right: 1px solid #ccc">Sent</td>
            <td>Wed Dec 19 05:23:57 -0600 2007</td>
          </tr>
        </table>
        <hr/>
        <pre>
Hi!

I have two aspects (A1 and A2) which both derive from a base class. Is it
possible to define these aspects in a way that depending on the calling
class A1 or A2 is used? I tried several things in the pointcut definition
but always the first aspect mentioned in the aop.xml file gets used... 

So for beeing in class "myotherpackage.Sample_AOPConfiguration" I want to
use aspect "A1" and for the the second class
"myotheroackage.TestCase_AOPConfiguration" I want to use "A2". Consider this
like an attempt to use a different aspect implementation in testing/mocking
than production or something similar.

My "aop.xml"


&lt;aspectwerkz&gt;
    &lt;system id="MySystem"&gt;
        &lt;package name="mypackage"&gt;
            &lt;aspect class="A1"&gt;
                &lt;pointcut name="pcn1"
                         
expression="within(myotherpackage.Sample_AOPConfiguration) and
                          execution(@mypackage.MyInject mypackage.ResultData
*.*.get(..))"/&gt;
            &lt;/aspect&gt;

            &lt;aspect class="A2"&gt;
                &lt;pointcut name="pcn2"
expression="within(myotherpackage.TestCase_AOPConfiguration) and
                          execution(@mypackage.MyInject myPackage.ResultData
*.*.get(..))"/&gt;
            &lt;/aspect&gt;
        &lt;/package&gt;
    &lt;/system&gt;
&lt;/aspectwerkz&gt;


Thanks in advance

Jens
-- 
View this message in context: http://www.nabble.com/Aspect-selection-due-to-caller-%28newbe%29-tp14415135p14415135.html
Sent from the AspectWerkz - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email


</pre>
      </description>
    </item>
    <item>
      <title>[aspectwerkz-dev] [jira] Commented: (AW-478) Recursion during a call aspectOf(instance)</title>
      <creator>Dmitry Negoda (JIRA) (jira@codehaus...)</creator>
      <pubDate>Thu, 06 Dec 2007 09:15:57 -0600</pubDate>
      <link>http://archive.aspectwerkz.codehaus.org/dev/21378893.1196954157490.JavaMail.haus-jira%40codehaus01.managed.contegix.com</link>
      <guid isPermaLink="true">http://archive.aspectwerkz.codehaus.org/dev/21378893.1196954157490.JavaMail.haus-jira%40codehaus01.managed.contegix.com</guid>
      <description>
        <table style="border: 1px solid #aaa">
          <tr>
            <td style="border-right: 1px solid #ccc">List</td>
            <td>dev@aspectwerkz.codehaus.org</td>
          </tr>
          <tr>
            <td style="border-right: 1px solid #ccc">Author</td>
            <td>Dmitry Negoda (JIRA) (jira@codehaus...)</td>
          </tr>
          <tr>
            <td style="border-right: 1px solid #ccc">Sent</td>
            <td>Thu Dec 06 09:15:57 -0600 2007</td>
          </tr>
        </table>
        <hr/>
        <pre>
    [ http://jira.codehaus.org/browse/AW-478?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_116046 ] 

Dmitry Negoda commented on AW-478:
----------------------------------

The patch turned out to be wrong. All we need is to use ReferenceIdentityMap from commons-collections. The m_perInstance should be declared as:

    protected final Map m_perInstance = new ReferenceIdentityMap(ReferenceIdentityMap.WEAK, ReferenceIdentityMap.HARD);


&gt; Recursion during a call aspectOf(instance)
&gt; ------------------------------------------
&gt;
&gt;                 Key: AW-478
&gt;                 URL: http://jira.codehaus.org/browse/AW-478
&gt;             Project: AspectWerkz
&gt;          Issue Type: Bug
&gt;          Components: core
&gt;    Affects Versions: 2.0
&gt;         Environment: Java 1.5
&gt;            Reporter: Dmitry Negoda
&gt;
&gt; When using perInstance aspects and calling aspectOf inside an advise, it calls hashCode() on the instance, which may cause recursive calls to an aspect. AOP should not call any of the instance methods to avoid side-effects. The following AbstractAspectContainer.aspectOf(instance) implementation fixes the problem:
&gt;     public Object aspectOf(final Object instance) {
&gt;     	Ref ref = new Ref(instance);
&gt;         synchronized (m_perInstance) {
&gt;             if (!m_perInstance.containsKey(ref)) {
&gt;                 m_perInstance.put(ref, createAspect());
&gt;             }
&gt;         }
&gt;         return m_perInstance.get(ref);
&gt;     }
&gt;     static class Ref {
&gt;         Object object;
&gt;         int hash;
&gt;         public int hashCode() { return hash; }
&gt;         public boolean equals(Object object) {
&gt;             if (object instanceof Ref) {
&gt;                 return ((Ref)object).object == object;
&gt;             } else {
&gt;                 return false;
&gt;             }
&gt;         }
&gt;         Ref(Object object) {
&gt;         	this.object = object;
&gt;         	hash = System.identityHashCode(object);
&gt;         }
&gt;     }

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email


</pre>
      </description>
    </item>
    <item>
      <title>[aspectwerkz-dev] [jira] Created: (AW-478) Recursion during a call aspectOf(instance)</title>
      <creator>Dmitry Negoda (JIRA) (jira@codehaus...)</creator>
      <pubDate>Thu, 06 Dec 2007 01:19:57 -0600</pubDate>
      <link>http://archive.aspectwerkz.codehaus.org/dev/389968.1196925597729.JavaMail.haus-jira%40codehaus01.managed.contegix.com</link>
      <guid isPermaLink="true">http://archive.aspectwerkz.codehaus.org/dev/389968.1196925597729.JavaMail.haus-jira%40codehaus01.managed.contegix.com</guid>
      <description>
        <table style="border: 1px solid #aaa">
          <tr>
            <td style="border-right: 1px solid #ccc">List</td>
            <td>dev@aspectwerkz.codehaus.org</td>
          </tr>
          <tr>
            <td style="border-right: 1px solid #ccc">Author</td>
            <td>Dmitry Negoda (JIRA) (jira@codehaus...)</td>
          </tr>
          <tr>
            <td style="border-right: 1px solid #ccc">Sent</td>
            <td>Thu Dec 06 01:19:57 -0600 2007</td>
          </tr>
        </table>
        <hr/>
        <pre>Recursion during a call aspectOf(instance)
------------------------------------------

                 Key: AW-478
                 URL: http://jira.codehaus.org/browse/AW-478
             Project: AspectWerkz
          Issue Type: Bug
          Components: core
    Affects Versions: 2.0
         Environment: Java 1.5
            Reporter: Dmitry Negoda


When using perInstance aspects and calling aspectOf inside an advise, it calls hashCode() on the instance, which may cause recursive calls to an aspect. AOP should not call any of the instance methods to avoid side-effects. The following AbstractAspectContainer.aspectOf(instance) implementation fixes the problem:

    public Object aspectOf(final Object instance) {
    	Ref ref = new Ref(instance);
        synchronized (m_perInstance) {
            if (!m_perInstance.containsKey(ref)) {
                m_perInstance.put(ref, createAspect());
            }
        }
        return m_perInstance.get(ref);
    }

    static class Ref {
        Object object;
        int hash;
        public int hashCode() { return hash; }
        public boolean equals(Object object) {
            if (object instanceof Ref) {
                return ((Ref)object).object == object;
            } else {
                return false;
            }
        }
        Ref(Object object) {
        	this.object = object;
        	hash = System.identityHashCode(object);
        }
    }



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email


</pre>
      </description>
    </item>
    <item>
      <title>Re: [aspectwerkz-user] AOP advice execution sequence</title>
      <creator>akhilesh laddha (akhilesh_laddha@yahoo...)</creator>
      <pubDate>Wed, 21 Nov 2007 21:12:00 -0600</pubDate>
      <link>http://archive.aspectwerkz.codehaus.org/user/429506.33669.qm%40web50310.mail.re2.yahoo.com</link>
      <guid isPermaLink="true">http://archive.aspectwerkz.codehaus.org/user/429506.33669.qm%40web50310.mail.re2.yahoo.com</guid>
      <description>
        <table style="border: 1px solid #aaa">
          <tr>
            <td style="border-right: 1px solid #ccc">List</td>
            <td>user@aspectwerkz.codehaus.org</td>
          </tr>
          <tr>
            <td style="border-right: 1px solid #ccc">Author</td>
            <td>akhilesh laddha (akhilesh_laddha@yahoo...)</td>
          </tr>
          <tr>
            <td style="border-right: 1px solid #ccc">Sent</td>
            <td>Wed Nov 21 21:12:00 -0600 2007</td>
          </tr>
        </table>
        <hr/>
        <pre>Alex,
  I would like to know, what would be the right approach to bring the parallel execution of advice functionality up in the solution. 
  Should I tweak the framework code or own solution (means create a thread in advice and execute localize concerns code in run method)?
   
  Code snippet to add in own solution---
   
  MyAdvice() 
  {
       MyConcerns concerns = MyConcerns ();
       new Thread(concerns).start();
  } 
   
   
   
  ------------------
  Class MyConcerns ()
  {
     public void run()
    {
      System.out.println("Log info");
    }
  }
   
  -----------------------------------
   
  Note - If we need to tweak in the framework code then where I need to do. Please do let me know.
   
  Thanks
Akhilesh
  
Alexandre Vasseur &lt;avasseur@gmail.com&gt; wrote:
  yes you can code for that, but the AOP framework won't create any thread for you
those papers are about use case, and not about framework features


On 11/21/07, akhilesh laddha wrote:
&gt;
&gt; Alex,
&gt; I have some doubt. Because, attached document section 5, 6 and 7 describes
&gt; that AOP advice run in parallel with the application code.
&gt;
&gt; In this url
&gt; http://www.sdtimes.com/editorial/opinion-20020101-01.html
&gt; article explain in the same line.
&gt;
&gt; Still, my understanding is not clarified, because your reply defer from the
&gt; article.
&gt;
&gt; Is that all Java AOP framework inherently not support parallel execution of
&gt; advice with the application code?
&gt;
&gt; Please let me know.
&gt;
&gt; Thanks
&gt; Akhilesh
&gt; Alexandre Vasseur wrote:
&gt; no it runs in the same code path - as if you wrote it
&gt; this said it is easy to have your advice produce an async task that
&gt; will be consumed by some thread queue if you want
&gt; it is all up to you
&gt; Alex
&gt;
&gt; On Nov 20, 2007 6:00 PM, akhilesh laddha wrote:
&gt; &gt;
&gt; &gt; Hi All,
&gt; &gt; I would like to get clarify my self about AOP advice execution sequence
&gt; &gt; along with the application code. Does AOP advice execute in parallel with
&gt; &gt; application methods for that cross cut defines?
&gt; &gt;
&gt; &gt; For example
&gt; &gt; Application method - foo() (for cross cut define)
&gt; &gt; Takes execution time T1
&gt; &gt; Advice &#8211; fooAdvice() takes t1 time
&gt; &gt;
&gt; &gt; If AOP advice runs sequentially with application code then additional
&gt; &gt; performance hit because of advice code execution.
&gt; &gt;
&gt; &gt; Total time will be &#8211; T1 +t1
&gt; &gt;
&gt; &gt; From my understanding it runs in parallel therefore it takes time equal to
&gt; &gt; whichever is higher for ex &#8211; T1
&gt; &gt;
&gt; &gt; Please correct my understanding
&gt; &gt;
&gt; &gt; Thanks
&gt; &gt; Akhilesh
&gt; &gt;
&gt; &gt;
&gt; &gt;
&gt; &gt; ________________________________
&gt; &gt; Be a better sports nut! Let your teams follow you with Yahoo Mobile. Try
&gt; it
&gt; &gt; now.
&gt;
&gt; ---------------------------------------------------------------------
&gt; To unsubscribe from this list please visit:
&gt;
&gt; http://xircles.codehaus.org/manage_email
&gt;
&gt;
&gt;
&gt;
&gt; ________________________________
&gt; Be a better sports nut! Let your teams follow you with Yahoo Mobile. Try it
&gt; now.
&gt;
&gt;
&gt; ---------------------------------------------------------------------
&gt; To unsubscribe from this list please visit:
&gt;
&gt; http://xircles.codehaus.org/manage_email
&gt;
&gt;

---------------------------------------------------------------------
To unsubscribe from this list please visit:

http://xircles.codehaus.org/manage_email



       
---------------------------------
Never miss a thing.   Make Yahoo your homepage.
</pre>
      </description>
    </item>
    <item>
      <title>Re: [aspectwerkz-user] AOP advice execution sequence</title>
      <creator>Alexandre Vasseur (avasseur@gmail...)</creator>
      <pubDate>Wed, 21 Nov 2007 15:20:01 -0600</pubDate>
      <link>http://archive.aspectwerkz.codehaus.org/user/9aface870711211320y1cef4ecbvd4898449f9075322%40mail.gmail.com</link>
      <guid isPermaLink="true">http://archive.aspectwerkz.codehaus.org/user/9aface870711211320y1cef4ecbvd4898449f9075322%40mail.gmail.com</guid>
      <description>
        <table style="border: 1px solid #aaa">
          <tr>
            <td style="border-right: 1px solid #ccc">List</td>
            <td>user@aspectwerkz.codehaus.org</td>
          </tr>
          <tr>
            <td style="border-right: 1px solid #ccc">Author</td>
            <td>Alexandre Vasseur (avasseur@gmail...)</td>
          </tr>
          <tr>
            <td style="border-right: 1px solid #ccc">Sent</td>
            <td>Wed Nov 21 15:20:01 -0600 2007</td>
          </tr>
        </table>
        <hr/>
        <pre>yes you can code for that, but the AOP framework won't create any thread for you
those papers are about use case, and not about framework features


On 11/21/07, akhilesh laddha &lt;akhilesh_laddha@yahoo.com&gt; wrote:
&gt;
&gt; Alex,
&gt; I have some doubt.  Because, attached document section 5, 6 and 7 describes
&gt; that AOP advice run in parallel with the application code.
&gt;
&gt; In this url
&gt; http://www.sdtimes.com/editorial/opinion-20020101-01.html
&gt; article explain in the same line.
&gt;
&gt; Still, my understanding is not clarified, because your reply defer from the
&gt; article.
&gt;
&gt; Is that all Java AOP framework inherently not support parallel execution of
&gt; advice with the application code?
&gt;
&gt; Please let me know.
&gt;
&gt; Thanks
&gt; Akhilesh
&gt; Alexandre Vasseur &lt;avasseur@gmail.com&gt; wrote:
&gt; no it runs in the same code path - as if you wrote it
&gt; this said it is easy to have your advice produce an async task that
&gt; will be consumed by some thread queue if you want
&gt; it is all up to you
&gt; Alex
&gt;
&gt; On Nov 20, 2007 6:00 PM, akhilesh laddha wrote:
&gt; &gt;
&gt; &gt; Hi All,
&gt; &gt; I would like to get clarify my self about AOP advice execution sequence
&gt; &gt; along with the application code. Does AOP advice execute in parallel with
&gt; &gt; application methods for that cross cut defines?
&gt; &gt;
&gt; &gt; For example
&gt; &gt; Application method - foo() (for cross cut define)
&gt; &gt; Takes execution time T1
&gt; &gt; Advice &#8211; fooAdvice() takes t1 time
&gt; &gt;
&gt; &gt; If AOP advice runs sequentially with application code then additional
&gt; &gt; performance hit because of advice code execution.
&gt; &gt;
&gt; &gt; Total time will be &#8211; T1 +t1
&gt; &gt;
&gt; &gt; From my understanding it runs in parallel therefore it takes time equal to
&gt; &gt; whichever is higher for ex &#8211; T1
&gt; &gt;
&gt; &gt; Please correct my understanding
&gt; &gt;
&gt; &gt; Thanks
&gt; &gt; Akhilesh
&gt; &gt;
&gt; &gt;
&gt; &gt;
&gt; &gt; ________________________________
&gt; &gt; Be a better sports nut! Let your teams follow you with Yahoo Mobile. Try
&gt; it
&gt; &gt; now.
&gt;
&gt; ---------------------------------------------------------------------
&gt; To unsubscribe from this list please visit:
&gt;
&gt; http://xircles.codehaus.org/manage_email
&gt;
&gt;
&gt;
&gt;
&gt; ________________________________
&gt; Be a better sports nut! Let your teams follow you with Yahoo Mobile. Try it
&gt; now.
&gt;
&gt;
&gt; ---------------------------------------------------------------------
&gt; To unsubscribe from this list please visit:
&gt;
&gt;    http://xircles.codehaus.org/manage_email
&gt;
&gt;

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email


</pre>
      </description>
    </item>
    <item>
      <title>Re: [aspectwerkz-user] AOP advice execution sequence</title>
      <creator>akhilesh laddha (akhilesh_laddha@yahoo...)</creator>
      <pubDate>Wed, 21 Nov 2007 11:57:11 -0600</pubDate>
      <link>http://archive.aspectwerkz.codehaus.org/user/426269.10167.qm%40web50304.mail.re2.yahoo.com</link>
      <guid isPermaLink="true">http://archive.aspectwerkz.codehaus.org/user/426269.10167.qm%40web50304.mail.re2.yahoo.com</guid>
      <description>
        <table style="border: 1px solid #aaa">
          <tr>
            <td style="border-right: 1px solid #ccc">List</td>
            <td>user@aspectwerkz.codehaus.org</td>
          </tr>
          <tr>
            <td style="border-right: 1px solid #ccc">Author</td>
            <td>akhilesh laddha (akhilesh_laddha@yahoo...)</td>
          </tr>
          <tr>
            <td style="border-right: 1px solid #ccc">Sent</td>
            <td>Wed Nov 21 11:57:11 -0600 2007</td>
          </tr>
        </table>
        <hr/>
        <pre>  Alex,
  I have some doubt.  Because, attached document section 5, 6 and 7 describes that AOP advice run in parallel with the application code. 
   
  In this url http://www.sdtimes.com/editorial/opinion-20020101-01.html article explain in the same line.
   
  Still, my understanding is not clarified, because your reply defer from the article. 
   
  Is that all Java AOP framework inherently not support parallel execution of advice with the application code?
   
  Please let me know.
   
  Thanks
  Akhilesh

Alexandre Vasseur &lt;avasseur@gmail.com&gt; wrote:
  no it runs in the same code path - as if you wrote it
this said it is easy to have your advice produce an async task that
will be consumed by some thread queue if you want
it is all up to you
Alex

On Nov 20, 2007 6:00 PM, akhilesh laddha wrote:
&gt;
&gt; Hi All,
&gt; I would like to get clarify my self about AOP advice execution sequence
&gt; along with the application code. Does AOP advice execute in parallel with
&gt; application methods for that cross cut defines?
&gt;
&gt; For example
&gt; Application method - foo() (for cross cut define)
&gt; Takes execution time T1
&gt; Advice &#8211; fooAdvice() takes t1 time
&gt;
&gt; If AOP advice runs sequentially with application code then additional
&gt; performance hit because of advice code execution.
&gt;
&gt; Total time will be &#8211; T1 +t1
&gt;
&gt; From my understanding it runs in parallel therefore it takes time equal to
&gt; whichever is higher for ex &#8211; T1
&gt;
&gt; Please correct my understanding
&gt;
&gt; Thanks
&gt; Akhilesh
&gt;
&gt;
&gt;
&gt; ________________________________
&gt; Be a better sports nut! Let your teams follow you with Yahoo Mobile. Try it
&gt; now.

---------------------------------------------------------------------
To unsubscribe from this list please visit:

http://xircles.codehaus.org/manage_email



       
---------------------------------
Be a better sports nut! Let your teams follow you with Yahoo Mobile. Try it now.
</pre>
      </description>
    </item>
    <item>
      <title>Re: [aspectwerkz-user] AOP advice execution sequence</title>
      <creator>akhilesh laddha (akhilesh_laddha@yahoo...)</creator>
      <pubDate>Wed, 21 Nov 2007 10:08:13 -0600</pubDate>
      <link>http://archive.aspectwerkz.codehaus.org/user/104954.28437.qm%40web50312.mail.re2.yahoo.com</link>
      <guid isPermaLink="true">http://archive.aspectwerkz.codehaus.org/user/104954.28437.qm%40web50312.mail.re2.yahoo.com</guid>
      <description>
        <table style="border: 1px solid #aaa">
          <tr>
            <td style="border-right: 1px solid #ccc">List</td>
            <td>user@aspectwerkz.codehaus.org</td>
          </tr>
          <tr>
            <td style="border-right: 1px solid #ccc">Author</td>
            <td>akhilesh laddha (akhilesh_laddha@yahoo...)</td>
          </tr>
          <tr>
            <td style="border-right: 1px solid #ccc">Sent</td>
            <td>Wed Nov 21 10:08:13 -0600 2007</td>
          </tr>
        </table>
        <hr/>
        <pre>Hi All,
  Is this the only mechanism to run advice in parallel with the
application methods for that cross cut defines?
  Or, any other option comes inherently with AOP framework to do the same.  Please do let me know.
   
   
  Thanks
  Akhilesh
  


Tahir Akhtar &lt;tahir@globalnorthstar.com&gt; wrote:
  I think there is nothing AOP-specific to it. Just launch your task in a separate thread using standard java threading techniques. 

Regards
Tahir Akhtar

lalithamba.vishwanathaiah@wipro.com wrote:   
  
---------------------------------
  
          Subject: 
RE: [aspectwerkz-user] AOP advice execution sequence      From: 
&lt;lalithamba.vishwanathaiah@wipro.com&gt;      Date: 
Wed, 21 Nov 2007 17:27:22 +0530      To: 
&lt;user@aspectwerkz.codehaus.org&gt;          To: 
&lt;user@aspectwerkz.codehaus.org&gt;

Hi,     How to implement asynchronous aspect ?  Can we get any sample if available.     Any help is appreciated.       Thanks and Regards,  Lalithamba.    ________________________________    From: Alexandre Vasseur [mailto:avasseur@gmail.com]  Sent: Tue 20-Nov-07 10:53 PM  To: user@aspectwerkz.codehaus.org  Subject: Re: [aspectwerkz-user] AOP advice execution sequence        no it runs in the same code path - as if you wrote it  this said it is easy to have your advice produce an async task that  will be consumed by some thread queue if you want  it is all up to you  Alex    On Nov 20, 2007 6:00 PM, akhilesh laddha &lt;akhilesh_laddha@yahoo.com&gt; wrote:    
  
Hi All,  I would like to get clarify my self about AOP advice execution sequence  along with the application code. Does AOP advice execute in parallel with  application methods for that cross cut defines?    For example  Application method - foo()  (for cross cut define)  Takes execution time T1  Advice - fooAdvice() takes t1 time    If AOP advice runs sequentially with application code then additional  performance hit because of advice code execution.    Total time will be - T1 +t1    From my understanding it runs in parallel therefore it takes time equal to  whichever is higher for ex - T1    Please correct my understanding    Thanks  Akhilesh         ________________________________  Be a better sports nut! Let your teams follow you with Yahoo Mobile. Try it  now.      

  ---------------------------------------------------------------------  To unsubscribe from this list please visit:        http://xircles.codehaus.org/manage_email          


---------------------------------
    The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments.     WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.     www.wipro.com    


---------------------------------
  ---------------------------------------------------------------------  To unsubscribe from this list please visit:        http://xircles.codehaus.org/manage_email

--------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email 

       
---------------------------------
Be a better pen pal. Text or chat with friends inside Yahoo! Mail. See how.
</pre>
      </description>
    </item>
    <item>
      <title>Re: [aspectwerkz-user] AOP advice execution sequence</title>
      <creator>Tahir Akhtar (tahir@globalnorthstar...)</creator>
      <pubDate>Wed, 21 Nov 2007 06:41:04 -0600</pubDate>
      <link>http://archive.aspectwerkz.codehaus.org/user/47442760.5070502%40globalnorthstar.com</link>
      <guid isPermaLink="true">http://archive.aspectwerkz.codehaus.org/user/47442760.5070502%40globalnorthstar.com</guid>
      <description>
        <table style="border: 1px solid #aaa">
          <tr>
            <td style="border-right: 1px solid #ccc">List</td>
            <td>user@aspectwerkz.codehaus.org</td>
          </tr>
          <tr>
            <td style="border-right: 1px solid #ccc">Author</td>
            <td>Tahir Akhtar (tahir@globalnorthstar...)</td>
          </tr>
          <tr>
            <td style="border-right: 1px solid #ccc">Sent</td>
            <td>Wed Nov 21 06:41:04 -0600 2007</td>
          </tr>
        </table>
        <hr/>
        <div>&lt;div class='clean'&gt;
&lt;div class='clean'&gt;I think there
is nothing AOP-specific to it. Just launch your task in a separate
thread using standard java threading techniques.
&lt;br/&gt;
&lt;br/&gt;Regards
&lt;br/&gt;Tahir Akhtar
&lt;br/&gt;
&lt;br/&gt;
&lt;a href='mailto:lalithamba.vishwanathaiah@wipro.com' class='moz-txt-link-abbreviated' rel='nofollow'&gt;lalithamba.vishwanathaiah@wipro.com&lt;/a&gt; wrote:
&lt;blockquote cite='mid:79E6823080C67C4780654AFA9678580263E156@BLR-SJP-MBX01.wipro.com' type='cite'&gt;
&lt;br/&gt;
&lt;hr size='4' width='90%'/&gt;
&lt;br/&gt;
&lt;table cellspacing='0' class='header-part1' border='0' cellpadding='0' width='100%'&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;div class='headerdisplayname' style='display: inline;'&gt;
Subject:&lt;/div&gt;RE: [aspectwerkz-user] AOP advice execution
sequence&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;div class='headerdisplayname' style='display: inline;'&gt;From:&lt;/div&gt;
&lt;a href='mailto:lalithamba.vishwanathaiah@wipro.com' class='moz-txt-link-rfc2396E' rel='nofollow'&gt;&amp;lt;lalithamba.vishwanathaiah@wipro.com&amp;gt;&lt;/a&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;div class='headerdisplayname' style='display: inline;'&gt;
Date:&lt;/div&gt;Wed, 21 Nov 2007 17:27:22 +0530&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;div class='headerdisplayname' style='display: inline;'&gt;To:&lt;/div&gt;
&lt;a href='mailto:user@aspectwerkz.codehaus.org' class='moz-txt-link-rfc2396E' rel='nofollow'&gt;&amp;lt;user@aspectwerkz.codehaus.org&amp;gt;&lt;/a&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;table cellspacing='0' class='header-part2' border='0' cellpadding='0' width='100%'&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;div class='headerdisplayname' style='display: inline;'&gt;To:&lt;/div&gt;
&lt;a href='mailto:user@aspectwerkz.codehaus.org' class='moz-txt-link-rfc2396E' rel='nofollow'&gt;&amp;lt;user@aspectwerkz.codehaus.org&amp;gt;&lt;/a&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;br/&gt;
&lt;pre&gt;
Hi,
 
How to implement asynchronous aspect ?
Can we get any sample if available.
 
Any help is appreciated.
 

Thanks and Regards,
Lalithamba.

________________________________

From: Alexandre Vasseur [
&lt;a href='mailto:avasseur@gmail.com' class='moz-txt-link-freetext' rel='nofollow'&gt;mailto:avasseur@gmail.com&lt;/a&gt;]
Sent: Tue 20-Nov-07 10:53 PM
To: 
&lt;a href='mailto:user@aspectwerkz.codehaus.org' class='moz-txt-link-abbreviated' rel='nofollow'&gt;user@aspectwerkz.codehaus.org&lt;/a&gt;
Subject: Re: [aspectwerkz-user] AOP advice execution sequence



no it runs in the same code path - as if you wrote it
this said it is easy to have your advice produce an async task that
will be consumed by some thread queue if you want
it is all up to you
Alex

On Nov 20, 2007 6:00 PM, akhilesh laddha 
&lt;a href='mailto:akhilesh_laddha@yahoo.com' class='moz-txt-link-rfc2396E' rel='nofollow'&gt;&amp;lt;akhilesh_laddha@yahoo.com&amp;gt;&lt;/a&gt;
wrote:
  
&lt;/pre&gt;
&lt;blockquote type='cite'&gt;
&lt;pre&gt;
Hi All,
I would like to get clarify my self about AOP advice execution
sequence
along with the application code. Does AOP advice execute in
parallel with
application methods for that cross cut defines?

For example
Application method - foo()  (for cross cut define)
Takes execution time T1
Advice - fooAdvice() takes t1 time

If AOP advice runs sequentially with application code then
additional
performance hit because of advice code execution.

Total time will be - T1 +t1

From my understanding it runs in parallel therefore it takes time
equal to
whichever is higher for ex - T1

Please correct my understanding

Thanks
Akhilesh



 ________________________________
Be a better sports nut! Let your teams follow you with Yahoo
Mobile. Try it
now.
    
&lt;/pre&gt;
&lt;/blockquote&gt;
&lt;pre&gt;
&lt;!----&gt;
---------------------------------------------------------------------
To unsubscribe from this list please visit:

    
&lt;a href='http://xircles.codehaus.org/manage_email' class='moz-txt-link-freetext' rel='nofollow'&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;



  
&lt;/pre&gt;
&lt;hr size='4' width='90%'/&gt;
&lt;pre&gt;

The information contained in this electronic message and any
attachments to this message are intended for the exclusive use of
the addressee(s) and may contain proprietary, confidential or
privileged information. If you are not the intended recipient, you
should not disseminate, distribute or copy this e-mail. Please
notify the sender immediately and destroy all copies of this
message and any attachments. 

WARNING: Computer viruses can be transmitted via email. The
recipient should check this email and any attachments for the
presence of viruses. The company accepts no liability for any
damage caused by any virus transmitted by this email.
 
&lt;a href='http://www.wipro.com' class='moz-txt-link-abbreviated' rel='nofollow'&gt;www.wipro.com&lt;/a&gt;
  
&lt;/pre&gt;
&lt;hr size='4' width='90%'/&gt;
&lt;pre&gt;
---------------------------------------------------------------------
To unsubscribe from this list please visit:

    
&lt;a href='http://xircles.codehaus.org/manage_email' class='moz-txt-link-freetext' rel='nofollow'&gt;http://xircles.codehaus.org/manage_email&lt;/a&gt;
&lt;/pre&gt;
&lt;/blockquote&gt;
&lt;br/&gt;---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email&lt;/div&gt;
&lt;/div&gt;</div>
      </description>
    </item>
    <item>
      <title>Re: [aspectwerkz-user] AOP advice execution sequence</title>
      <creator>Alexandre Vasseur (avasseur@gmail...)</creator>
      <pubDate>Tue, 20 Nov 2007 11:23:04 -0600</pubDate>
      <link>http://archive.aspectwerkz.codehaus.org/user/9aface870711200923m68ed511ay97e9398087f4c29e%40mail.gmail.com</link>
      <guid isPermaLink="true">http://archive.aspectwerkz.codehaus.org/user/9aface870711200923m68ed511ay97e9398087f4c29e%40mail.gmail.com</guid>
      <description>
        <table style="border: 1px solid #aaa">
          <tr>
            <td style="border-right: 1px solid #ccc">List</td>
            <td>user@aspectwerkz.codehaus.org</td>
          </tr>
          <tr>
            <td style="border-right: 1px solid #ccc">Author</td>
            <td>Alexandre Vasseur (avasseur@gmail...)</td>
          </tr>
          <tr>
            <td style="border-right: 1px solid #ccc">Sent</td>
            <td>Tue Nov 20 11:23:04 -0600 2007</td>
          </tr>
        </table>
        <hr/>
        <pre>no it runs in the same code path - as if you wrote it
this said it is easy to have your advice produce an async task that
will be consumed by some thread queue if you want
it is all up to you
Alex

On Nov 20, 2007 6:00 PM, akhilesh laddha &lt;akhilesh_laddha@yahoo.com&gt; wrote:
&gt;
&gt; Hi All,
&gt; I would like to get clarify my self about AOP advice execution sequence
&gt; along with the application code. Does AOP advice execute in parallel with
&gt; application methods for that cross cut defines?
&gt;
&gt; For example
&gt; Application method - foo()  (for cross cut define)
&gt; Takes execution time T1
&gt; Advice &#8211; fooAdvice() takes t1 time
&gt;
&gt; If AOP advice runs sequentially with application code then additional
&gt; performance hit because of advice code execution.
&gt;
&gt; Total time will be &#8211; T1 +t1
&gt;
&gt; From my understanding it runs in parallel therefore it takes time equal to
&gt; whichever is higher for ex &#8211; T1
&gt;
&gt; Please correct my understanding
&gt;
&gt; Thanks
&gt; Akhilesh
&gt;
&gt;
&gt;
&gt;  ________________________________
&gt; Be a better sports nut! Let your teams follow you with Yahoo Mobile. Try it
&gt; now.

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email


</pre>
      </description>
    </item>
    <item>
      <title>[aspectwerkz-user] AOP  advice execution sequence</title>
      <creator>akhilesh laddha (akhilesh_laddha@yahoo...)</creator>
      <pubDate>Tue, 20 Nov 2007 11:00:10 -0600</pubDate>
      <link>http://archive.aspectwerkz.codehaus.org/user/428939.39033.qm%40web50310.mail.re2.yahoo.com</link>
      <guid isPermaLink="true">http://archive.aspectwerkz.codehaus.org/user/428939.39033.qm%40web50310.mail.re2.yahoo.com</guid>
      <description>
        <table style="border: 1px solid #aaa">
          <tr>
            <td style="border-right: 1px solid #ccc">List</td>
            <td>user@aspectwerkz.codehaus.org</td>
          </tr>
          <tr>
            <td style="border-right: 1px solid #ccc">Author</td>
            <td>akhilesh laddha (akhilesh_laddha@yahoo...)</td>
          </tr>
          <tr>
            <td style="border-right: 1px solid #ccc">Sent</td>
            <td>Tue Nov 20 11:00:10 -0600 2007</td>
          </tr>
        </table>
        <hr/>
        <pre>  Hi All,
  I would like to get clarify my self about AOP advice execution sequence along with the application code. Does AOP advice execute in parallel with application methods for that cross cut defines?
   
  For example 
  Application method - foo()  (for cross cut define)
  Takes execution time T1
  Advice &#8211; fooAdvice() takes t1 time
   
  If AOP advice runs sequentially with application code then additional performance hit because of advice code execution. 
   
  Total time will be &#8211; T1 +t1
   
  From my understanding it runs in parallel therefore it takes time equal to whichever is higher for ex &#8211; T1
   
  Please correct my understanding
   
  Thanks
  Akhilesh
   

       
---------------------------------
Be a better sports nut! Let your teams follow you with Yahoo Mobile. Try it now.
</pre>
      </description>
    </item>
    <item>
      <title>RE: [aspectwerkz-user] trouble with static pointcuts 2.0</title>
      <creator>Michael Wyszinski (mike.wyszinski@gmail...)</creator>
      <pubDate>Thu, 08 Nov 2007 15:44:16 -0600</pubDate>
      <link>http://archive.aspectwerkz.codehaus.org/user/003701c82250%2483693f60%246601a8c0%40mike</link>
      <guid isPermaLink="true">http://archive.aspectwerkz.codehaus.org/user/003701c82250%2483693f60%246601a8c0%40mike</guid>
      <description>
        <table style="border: 1px solid #aaa">
          <tr>
            <td style="border-right: 1px solid #ccc">List</td>
            <td>user@aspectwerkz.codehaus.org</td>
          </tr>
          <tr>
            <td style="border-right: 1px solid #ccc">Author</td>
            <td>Michael Wyszinski (mike.wyszinski@gmail...)</td>
          </tr>
          <tr>
            <td style="border-right: 1px solid #ccc">Sent</td>
            <td>Thu Nov 08 15:44:16 -0600 2007</td>
          </tr>
        </table>
        <hr/>
        <pre>Thx for the reply, in the end I got it working by changing the
deployment-model to perJVM. 

 

No Instance of com.xxx.core.audit.Log is ever created (it's a static
singleton ) so maybe the aspect could never get bind wih the perinstance
setting?

Just a guess on my part..

Here is the working xml snippet

 

       &lt;!-- Aspect to capture username in trxns--&gt;
     &lt;aspect class="GetUserAspect" deployment-model="perInstance"&gt;
           &lt;pointcut name="SetUser" expression="execution(* void
com.xxx.core.audit.Log.setUser(..))"/&gt;
           &lt;advice name="storeUserName(StaticJoinPoint jp)" type="after
returning" bind-to="SetUser"/&gt;     &lt;/aspect&gt;

 

 

  _____  

From: Alexandre Vasseur [mailto:avasseur@gmail.com] 
Sent: Thursday, November 08, 2007 4:39 PM
To: user@aspectwerkz.codehaus.org
Subject: Re: [aspectwerkz-user] trouble with static pointcuts 2.0

 

an "after returning" joinpoint kind on a "void method(stuff)" will likely
not match

use simply after perhaps



On Nov 7, 2007 10:36 PM, Michael Wyszinski &lt; mike.wyszinski@gmail.com
&lt;mailto:mike.wyszinski@gmail.com&gt; &gt; wrote:

 

All, I have several aspects running correctly in weblogic but, having
trouble advising a certain static method, I've tried several diff pointcut
definitions but it never works on this particular class. It has worked on a
similar non-static method..Any help to debug this would be appreciated

 

Here are the details

 

=====================================================

XML def

=====================================================

 

       &lt;!-- Aspect to capture username in trxns--&gt;
     &lt;aspect class="GetUserAspect" deployment-model="perInstance"&gt;
           &lt;pointcut name="SetUser" expression="execution(public static void
com.xxx.core.audit.Log.setUser(..))"/&gt;
           &lt;advice name="storeUserName(StaticJoinPoint jp)" type="after
returning" bind-to="SetUser"/&gt;
           &lt;param name="test" value="i got loaded"/&gt;
     &lt;/aspect&gt;

 

=====================================================

target

=====================================================

 

package com.xxx.core.audit;

 

public class Log
{
 public static void setUser(String message)
 {stuff.}

}

 

=====================================================

Aspect clas

=====================================================

 

import org.codehaus.aspectwerkz.AspectContext;
import org.codehaus.aspectwerkz.joinpoint.*;

 


public class GetUserAspect{
     private static ThreadLocal userName = new ThreadLocal();
    private AspectContext myAspectContext = null;
    
     public NextgenGetUserAspect(AspectContext ac){
     myAspectContext = ac;
    System.out.println("test init-&gt;" +
myAspectContext.getParameter("test"));
     }  

 

  public static void setUserName(String name) {
  userName.set(name);
 }
 public static String getUserName() {
  return (String) userName.get();
 }
 public Object storeUserName(StaticJoinPoint  joinPoint) throws Throwable {
  System.out.println("NextgenMonitoring SET USERNAME ");
  return null;
 }

 

}

 

 


</pre>
      </description>
    </item>
    <item>
      <title>Re: [aspectwerkz-user] trouble with static pointcuts 2.0</title>
      <creator>Alexandre Vasseur (avasseur@gmail...)</creator>
      <pubDate>Thu, 08 Nov 2007 15:38:37 -0600</pubDate>
      <link>http://archive.aspectwerkz.codehaus.org/user/9aface870711081338j7d42840alfb61e263858f2255%40mail.gmail.com</link>
      <guid isPermaLink="true">http://archive.aspectwerkz.codehaus.org/user/9aface870711081338j7d42840alfb61e263858f2255%40mail.gmail.com</guid>
      <description>
        <table style="border: 1px solid #aaa">
          <tr>
            <td style="border-right: 1px solid #ccc">List</td>
            <td>user@aspectwerkz.codehaus.org</td>
          </tr>
          <tr>
            <td style="border-right: 1px solid #ccc">Author</td>
            <td>Alexandre Vasseur (avasseur@gmail...)</td>
          </tr>
          <tr>
            <td style="border-right: 1px solid #ccc">Sent</td>
            <td>Thu Nov 08 15:38:37 -0600 2007</td>
          </tr>
        </table>
        <hr/>
        <pre>an "after returning" joinpoint kind on a "void method(stuff)" will likely
not match

use simply after perhaps


On Nov 7, 2007 10:36 PM, Michael Wyszinski &lt;mike.wyszinski@gmail.com&gt; wrote:

&gt;
&gt;
&gt; All, I have several aspects running correctly in weblogic but, having
&gt; trouble advising a certain static method, I've tried several diff pointcut
&gt; definitions but it never works on this particular class. It has worked on a
&gt; similar non-static method&#8230;.Any help to debug this would be appreciated
&gt;
&gt;
&gt;
&gt; Here are the details
&gt;
&gt;
&gt;
&gt; =====================================================
&gt;
&gt; XML def
&gt;
&gt; =====================================================
&gt;
&gt;
&gt;
&gt;        &lt;!-- Aspect to capture username in trxns--&gt;
&gt;      &lt;aspect class="GetUserAspect" deployment-model="perInstance"&gt;
&gt;            &lt;pointcut name="SetUser" expression="execution(*public static
&gt; void com.xxx.core.audit.Log.setUser(..)*)"/&gt;
&gt;            &lt;advice name="storeUserName(StaticJoinPoint jp)" type="after
&gt; returning" bind-to="SetUser"/&gt;
&gt;            &lt;param name="test" value="i got loaded"/&gt;
&gt;      &lt;/aspect&gt;
&gt;
&gt;
&gt;
&gt; =====================================================
&gt;
&gt; target
&gt;
&gt; =====================================================
&gt;
&gt;
&gt;
&gt; package com.xxx.core.audit;
&gt;
&gt;
&gt;
&gt; public class Log
&gt; {
&gt;  public static void setUser(String message)
&gt;  {stuff&#8230;}
&gt;
&gt; }
&gt;
&gt;
&gt;
&gt; =====================================================
&gt;
&gt; Aspect clas
&gt;
&gt; =====================================================
&gt;
&gt;
&gt;
&gt; import org.codehaus.aspectwerkz.AspectContext;
&gt; import org.codehaus.aspectwerkz.joinpoint.*;
&gt;
&gt;
&gt;
&gt;
&gt; public class GetUserAspect{
&gt;      private static ThreadLocal userName = new ThreadLocal();
&gt;     private AspectContext myAspectContext = null;
&gt;
&gt;      public NextgenGetUserAspect(AspectContext ac){
&gt;      myAspectContext = ac;
&gt;     System.out.println("test init-&gt;" + myAspectContext.getParameter
&gt; ("test"));
&gt;      }
&gt;
&gt;
&gt;
&gt;   public static void setUserName(String name) {
&gt;   userName.set(name);
&gt;  }
&gt;  public static String getUserName() {
&gt;   return (String) userName.get();
&gt;  }
&gt;  public Object storeUserName(StaticJoinPoint  joinPoint) throws Throwable
&gt; {
&gt;   System.out.println("NextgenMonitoring SET USERNAME ");
&gt;   return null;
&gt;  }
&gt;
&gt;
&gt;
&gt; }
&gt;
&gt;
&gt;

</pre>
      </description>
    </item>
    <item>
      <title>[aspectwerkz-user] trouble with static pointcuts 2.0</title>
      <creator>mike wyszinski (mike.wyszinski@gmail...)</creator>
      <pubDate>Wed, 07 Nov 2007 16:04:48 -0600</pubDate>
      <link>http://archive.aspectwerkz.codehaus.org/user/dab91adc0711071404u527d87c3n6b8a373d61e57076%40mail.gmail.com</link>
      <guid isPermaLink="true">http://archive.aspectwerkz.codehaus.org/user/dab91adc0711071404u527d87c3n6b8a373d61e57076%40mail.gmail.com</guid>
      <description>
        <table style="border: 1px solid #aaa">
          <tr>
            <td style="border-right: 1px solid #ccc">List</td>
            <td>user@aspectwerkz.codehaus.org</td>
          </tr>
          <tr>
            <td style="border-right: 1px solid #ccc">Author</td>
            <td>mike wyszinski (mike.wyszinski@gmail...)</td>
          </tr>
          <tr>
            <td style="border-right: 1px solid #ccc">Sent</td>
            <td>Wed Nov 07 16:04:48 -0600 2007</td>
          </tr>
        </table>
        <hr/>
        <pre>All, I have several aspects running correctly in weblogic but, having
trouble advising a certain static method, I've tried several diff
pointcut definitions but it never works on this particular class. It
has worked on a similar non-static method&#8230;.Any help to debug this
would be appreciated



Here are the details



=====================================================

XML def

=====================================================



       &lt;!-- Aspect to capture username in trxns--&gt;
     &lt;aspect class="GetUserAspect" deployment-model="perInstance"&gt;
           &lt;pointcut name="SetUser" expression="execution(public
static void com.xxx.core.audit.Log.setUser(..))"/&gt;
           &lt;advice name="storeUserName(StaticJoinPoint jp)"
type="after returning" bind-to="SetUser"/&gt;
           &lt;param name="test" value="i got loaded"/&gt;
     &lt;/aspect&gt;



=====================================================

target

=====================================================



package com.xxx.core.audit;



public class Log
{
 public static void setUser(String message)
 {stuff&#8230;}

}



=====================================================

Aspect clas

=====================================================



import org.codehaus.aspectwerkz.AspectContext;
import org.codehaus.aspectwerkz.joinpoint.*;




public class GetUserAspect{
     private static ThreadLocal userName = new ThreadLocal();
    private AspectContext myAspectContext = null;

     public NextgenGetUserAspect(AspectContext ac){
     myAspectContext = ac;
    System.out.println("test init-&gt;" + myAspectContext.getParameter("test"));
     }



  public static void setUserName(String name) {
  userName.set(name);
 }
 public static String getUserName() {
  return (String) userName.get();
 }
 public Object storeUserName(StaticJoinPoint  joinPoint) throws Throwable {
  System.out.println("NextgenMonitoring SET USERNAME ");
  return null;
 }



}

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email


</pre>
      </description>
    </item>
    <item>
      <title>[aspectwerkz-user]  trouble with static pointcuts 2.0</title>
      <creator>Michael Wyszinski (mike.wyszinski@gmail...)</creator>
      <pubDate>Wed, 07 Nov 2007 15:36:22 -0600</pubDate>
      <link>http://archive.aspectwerkz.codehaus.org/user/002301c82186%243e7d9150%246601a8c0%40mike</link>
      <guid isPermaLink="true">http://archive.aspectwerkz.codehaus.org/user/002301c82186%243e7d9150%246601a8c0%40mike</guid>
      <description>
        <table style="border: 1px solid #aaa">
          <tr>
            <td style="border-right: 1px solid #ccc">List</td>
            <td>user@aspectwerkz.codehaus.org</td>
          </tr>
          <tr>
            <td style="border-right: 1px solid #ccc">Author</td>
            <td>Michael Wyszinski (mike.wyszinski@gmail...)</td>
          </tr>
          <tr>
            <td style="border-right: 1px solid #ccc">Sent</td>
            <td>Wed Nov 07 15:36:22 -0600 2007</td>
          </tr>
        </table>
        <hr/>
        <pre> 

All, I have several aspects running correctly in weblogic but, having
trouble advising a certain static method, I've tried several diff pointcut
definitions but it never works on this particular class. It has worked on a
similar non-static method..Any help to debug this would be appreciated

 

Here are the details

 

=====================================================

XML def

=====================================================

 

       &lt;!-- Aspect to capture username in trxns--&gt;
     &lt;aspect class="GetUserAspect" deployment-model="perInstance"&gt;
           &lt;pointcut name="SetUser" expression="execution(public static void
com.xxx.core.audit.Log.setUser(..))"/&gt;
           &lt;advice name="storeUserName(StaticJoinPoint jp)" type="after
returning" bind-to="SetUser"/&gt;
           &lt;param name="test" value="i got loaded"/&gt;
     &lt;/aspect&gt;

 

=====================================================

target

=====================================================

 

package com.xxx.core.audit;

 

public class Log
{
 public static void setUser(String message)
 {stuff.}

}

 

=====================================================

Aspect clas

=====================================================

 

import org.codehaus.aspectwerkz.AspectContext;
import org.codehaus.aspectwerkz.joinpoint.*;

 


public class GetUserAspect{
     private static ThreadLocal userName = new ThreadLocal();
    private AspectContext myAspectContext = null;
    
     public NextgenGetUserAspect(AspectContext ac){
     myAspectContext = ac;
    System.out.println("test init-&gt;" +
myAspectContext.getParameter("test"));
     }  

 

  public static void setUserName(String name) {
  userName.set(name);
 }
 public static String getUserName() {
  return (String) userName.get();
 }
 public Object storeUserName(StaticJoinPoint  joinPoint) throws Throwable {
  System.out.println("NextgenMonitoring SET USERNAME ");
  return null;
 }

 

}

 


</pre>
      </description>
    </item>
    <item>
      <title>[aspectwerkz-dev] [jira] Commented: (AW-347) JProfiler &amp; AW not  happy together</title>
      <creator>Tim Cull (JIRA) (jira@codehaus...)</creator>
      <pubDate>Tue, 23 Oct 2007 13:45:52 -0500</pubDate>
      <link>http://archive.aspectwerkz.codehaus.org/dev/26130078.1193165152613.JavaMail.haus-jira%40codehaus01.managed.contegix.com</link>
      <guid isPermaLink="true">http://archive.aspectwerkz.codehaus.org/dev/26130078.1193165152613.JavaMail.haus-jira%40codehaus01.managed.contegix.com</guid>
      <description>
        <table style="border: 1px solid #aaa">
          <tr>
            <td style="border-right: 1px solid #ccc">List</td>
            <td>dev@aspectwerkz.codehaus.org</td>
          </tr>
          <tr>
            <td style="border-right: 1px solid #ccc">Author</td>
            <td>Tim Cull (JIRA) (jira@codehaus...)</td>
          </tr>
          <tr>
            <td style="border-right: 1px solid #ccc">Sent</td>
            <td>Tue Oct 23 13:45:52 -0500 2007</td>
          </tr>
        </table>
        <hr/>
        <pre>
    [ http://jira.codehaus.org/browse/AW-347?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_111053 ] 

Tim Cull commented on AW-347:
-----------------------------

I have the same problem.  trying to run an AW-ized application inside a JProfilier session gets me this:
java.lang.ArrayIndexOutOfBoundsException: 65536
    at org.codehaus.aspectwerkz.org.objectweb.asm.ClassReader.accept(Unknown Source)
    at org.codehaus.aspectwerkz.reflect.impl.asm.AsmClassInfo.&lt;init&gt;(AsmClassInfo.java:190)
    at org.codehaus.aspectwerkz.reflect.impl.asm.AsmClassInfo.newClassInfo(AsmClassInfo.java:258)
    at org.codehaus.aspectwerkz.transform.inlining.InliningWeavingStrategy.transform(InliningWeavingStrategy.java:175)
    at org.codehaus.aspectwerkz.transform.AspectWerkzPreProcessor._preProcess(AspectWerkzPreProcessor.java:173)
    at org.codehaus.aspectwerkz.transform.AspectWerkzPreProcessor.preProcess(AspectWerkzPreProcessor.java:148)
    at org.codehaus.aspectwerkz.hook.PreProcessorAdapter.transform(PreProcessorAdapter.java:50)
    at sun.instrument.TransformerManager.transform(TransformerManager.java:122)
    at sun.instrument.InstrumentationImpl.transform(InstrumentationImpl.java:155)
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
    at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
    at org.springframework.util.ClassUtils.forName(ClassUtils.java:201)
    at org.springframework.beans.factory.support.AbstractBeanDefinition.resolveBeanClass(AbstractBeanDefinition.java:327)
    at org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass(AbstractBeanFactory.java:1075)
    at org.springframework.beans.factory.support.AbstractBeanFactory.isBeanClassMatch(AbstractBeanFactory.java:1103)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanNamesForType(DefaultListableBeanFactory.java:172)
    at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:447)
    at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:334)
    at org.springframework.context.support.ClassPathXmlApplicationContext.&lt;init&gt;(ClassPathXmlApplicationContext.java:91)
    at org.springframework.context.support.ClassPathXmlApplicationContext.&lt;init&gt;(ClassPathXmlApplicationContext.java:75)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
    at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:85)
    at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:87)
    at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:186)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:799)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:717)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:384)
    at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:251)
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:156)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:248)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:287)
    at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:352)
    at org.springframework.context.support.ClassPathXmlApplicationContext.&lt;init&gt;(ClassPathXmlApplicationContext.java:91)
    at org.springframework.context.support.ClassPathXmlApplicationContext.&lt;init&gt;(ClassPathXmlApplicationContext.java:75)
    at com.bglobal.gts.server.StartupService.start(StartupService.java:105)
    at com.bglobal.gts.server.StartupService.main(StartupService.java:253)
java.lang.ArrayIndexOutOfBoundsException: 65536
    at org.codehaus.aspectwerkz.org.objectweb.asm.ClassReader.accept(Unknown Source)
    at org.codehaus.aspectwerkz.transform.inlining.InliningWeavingStrategy.transform(InliningWeavingStrategy.java:198)
    at org.codehaus.aspectwerkz.transform.AspectWerkzPreProcessor._preProcess(AspectWerkzPreProcessor.java:173)
    at org.codehaus.aspectwerkz.transform.AspectWerkzPreProcessor.preProcess(AspectWerkzPreProcessor.java:148)
    at org.codehaus.aspectwerkz.hook.PreProcessorAdapter.transform(PreProcessorAdapter.java:50)
    at sun.instrument.TransformerManager.transform(TransformerManager.java:122)
    at sun.instrument.InstrumentationImpl.transform(InstrumentationImpl.java:155)
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
    at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
    at org.springframework.util.ClassUtils.forName(ClassUtils.java:201)
    at org.springframework.beans.factory.support.AbstractBeanDefinition.resolveBeanClass(AbstractBeanDefinition.java:327)
    at org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass(AbstractBeanFactory.java:1075)
    at org.springframework.beans.factory.support.AbstractBeanFactory.isBeanClassMatch(AbstractBeanFactory.java:1103)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanNamesForType(DefaultListableBeanFactory.java:172)
    at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:447)
    at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:334)
    at org.springframework.context.support.ClassPathXmlApplicationContext.&lt;init&gt;(ClassPathXmlApplicationContext.java:91)
    at org.springframework.context.support.ClassPathXmlApplicationContext.&lt;init&gt;(ClassPathXmlApplicationContext.java:75)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
    at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:85)
    at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:87)
    at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:186)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:799)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:717)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:384)
    at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:251)
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:156)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:248)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:287)
    at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:352)
    at org.springframework.context.support.ClassPathXmlApplicationContext.&lt;init&gt;(ClassPathXmlApplicationContext.java:91)
    at org.springframework.context.support.ClassPathXmlApplicationContext.&lt;init&gt;(ClassPathXmlApplicationContext.java:75)
    at com.bglobal.gts.server.StartupService.start(StartupService.java:105)
    at com.bglobal.gts.server.StartupService.main(StartupService.java:253)
java.lang.ArrayIndexOutOfBoundsException: 65536
    at org.codehaus.aspectwerkz.org.objectweb.asm.ClassReader.accept(Unknown Source)
    at org.codehaus.aspectwerkz.transform.inlining.InliningWeavingStrategy.transform(InliningWeavingStrategy.java:198)
    at org.codehaus.aspectwerkz.transform.AspectWerkzPreProcessor._preProcess(AspectWerkzPreProcessor.java:173)
    at org.codehaus.aspectwerkz.transform.AspectWerkzPreProcessor.preProcess(AspectWerkzPreProcessor.java:148)
    at org.codehaus.aspectwerkz.hook.PreProcessorAdapter.transform(PreProcessorAdapter.java:50)
    at sun.instrument.TransformerManager.transform(TransformerManager.java:122)
    at sun.instrument.InstrumentationImpl.transform(InstrumentationImpl.java:155)
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
    at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
    at org.springframework.util.ClassUtils.forName(ClassUtils.java:201)
    at org.springframework.beans.factory.support.AbstractBeanDefinition.resolveBeanClass(AbstractBeanDefinition.java:327)
    at org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass(AbstractBeanFactory.java:1075)


&gt; JProfiler &amp; AW not  happy together
&gt; ----------------------------------
&gt;
&gt;                 Key: AW-347
&gt;                 URL: http://jira.codehaus.org/browse/AW-347
&gt;             Project: AspectWerkz
&gt;          Issue Type: Improvement
&gt;    Affects Versions: 2.0
&gt;         Environment: winXP / jrockit8.1_sp3  / AW 1.0  
&gt;            Reporter: Jyrki Veps&#228;
&gt;             Fix For: 2.1-RC1
&gt;
&gt;
&gt; I would like to mesasure the memory usage impact of
&gt; my aspects. Trying to attach  JProfiler to JRockit together
&gt; with AW causes a null pointer error in native jrockit code.
&gt; Is there any other profiler capable to perform memory usage
&gt; profiling that works with jrockit while AW is being used.
&gt; Regards,
&gt; --Jyrki

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email


</pre>
      </description>
    </item>
    <item>
      <title>Re: [aspectwerkz-user] remote weaving?</title>
      <creator>Jonas Bon&amp;eacute;r (jonas@jonasboner...)</creator>
      <pubDate>Mon, 08 Oct 2007 03:52:03 -0500</pubDate>
      <link>http://archive.aspectwerkz.codehaus.org/user/480048f50710080152h20626a62td8797ec121630bc1%40mail.gmail.com</link>
      <guid isPermaLink="true">http://archive.aspectwerkz.codehaus.org/user/480048f50710080152h20626a62td8797ec121630bc1%40mail.gmail.com</guid>
      <description>
        <table style="border: 1px solid #aaa">
          <tr>
            <td style="border-right: 1px solid #ccc">List</td>
            <td>user@aspectwerkz.codehaus.org</td>
          </tr>
          <tr>
            <td style="border-right: 1px solid #ccc">Author</td>
            <td>Jonas Bon&amp;eacute;r (jonas@jonasboner...)</td>
          </tr>
          <tr>
            <td style="border-right: 1px solid #ccc">Sent</td>
            <td>Mon Oct 08 03:52:03 -0500 2007</td>
          </tr>
        </table>
        <hr/>
        <pre>Yes it is possible, but you will have to define a so-called
'deployment scope' and preweave the classes (will just add tiny hooks,
but no aspects). Then you can do hot deploy and undeploy in a running
system.
Details here: http://aspectwerkz.codehaus.org/new_features_in_2_0.html#Hot_deployment_and_undeployment_of_aspects

/Jonas

On 10/3/07, Dongkwan Kim &lt;vtdongkwan@gmail.com&gt; wrote:
&gt; Does AspectWerkz support the remote weaving? Let me explain my scenario in
&gt; detail.
&gt; Suppose there is a running Java application. It don't know AspectWerkz. I
&gt; want to insert an aspect into the running application. This is called the
&gt; remote weaving. Is there any way to weave already running Java classes?
&gt;
&gt; DK
&gt;


-- 
Jonas Bon&#233;r

http://jonasboner.com
</pre>
      </description>
    </item>
    <item>
      <title>[aspectwerkz-user] remote weaving?</title>
      <creator>Dongkwan Kim (vtdongkwan@gmail...)</creator>
      <pubDate>Wed, 03 Oct 2007 14:01:06 -0500</pubDate>
      <link>http://archive.aspectwerkz.codehaus.org/user/b0cc390c0710031201y78c28c2ei3b756c051a534e9d%40mail.gmail.com</link>
      <guid isPermaLink="true">http://archive.aspectwerkz.codehaus.org/user/b0cc390c0710031201y78c28c2ei3b756c051a534e9d%40mail.gmail.com</guid>
      <description>
        <table style="border: 1px solid #aaa">
          <tr>
            <td style="border-right: 1px solid #ccc">List</td>
            <td>user@aspectwerkz.codehaus.org</td>
          </tr>
          <tr>
            <td style="border-right: 1px solid #ccc">Author</td>
            <td>Dongkwan Kim (vtdongkwan@gmail...)</td>
          </tr>
          <tr>
            <td style="border-right: 1px solid #ccc">Sent</td>
            <td>Wed Oct 03 14:01:06 -0500 2007</td>
          </tr>
        </table>
        <hr/>
        <pre>Does AspectWerkz support the remote weaving? Let me explain my scenario in
detail.
Suppose there is a running Java application. It don't know AspectWerkz. I
want to insert an aspect into the running application. This is called the
remote weaving. Is there any way to weave already running Java classes?

DK

</pre>
      </description>
    </item>
  </channel>
</rss>
