[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[List Home]
|
Re: [aspectj-users] advices for methods from packaged classes
|
- From: "Andrew Eisenberg" <andrew@xxxxxxxxxxxx>
- Date: Thu, 11 Dec 2008 19:39:23 -0800
- Delivered-to: aspectj-users@eclipse.org
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:reply-to :sender:to:subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references :x-google-sender-auth; bh=AF/dMcPM2TJ5hMyw82ksa7VOzNxiABIXvmlbxXbJRhY=; b=YCz9EDYcKvnR/RKmN6NPrOEoZcPr8i75BGFUbdQ4EYFG2DE+euTyVpx+YLrPejyVla UMdC19NAaYUlc3nqONEOi4JWLb2eHVXyXWIUX0Pr6xdmiudjKqBQNnfeDL2XwU4GqaHj hoB3ujKyqPy/5R8cQzWhlKlsR/IO5ugFh3Y8w=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:sender:to:subject:in-reply-to :mime-version:content-type:content-transfer-encoding :content-disposition:references:x-google-sender-auth; b=w18Jg+l02dGwscUZMBctAXKYye9MYbEPiUR+5en/G0/a2L4vvLzwYriL6oM06P1ac9 mCqGpibTbvjAP+Nkya5r7ebl0X//uSUL6d6sU2xC2lKCuuKqe0v9tKQpPAZx6iE7dH1a dHEgkEcC19V6hIgTv3XX5tONLCvdkMNxZp3DI=
Here is some information on how to perform binary weaving n jars:
http://mojo.codehaus.org/aspectj-maven-plugin/weaveJars.html
Note that the maven-aspectj plugin was not developed here, so we may
not be able to answer all your questions about it.
On Thu, Dec 11, 2008 at 6:39 PM, miro <miroconnect@xxxxxxxxx> wrote:
>
> I am using the maven aspectj plugin , is there any additional prameter in
> the configration which does this?
>
>
> here is my plugin from pom.xml
> <plugin>
> <groupId>org.codehaus.mojo</groupId>
> <artifactId>aspectj-maven-plugin</artifactId>
> <version>1.1</version>
> <executions>
> <execution>
> <goals>
> <goal>compile</goal> <!-- use this goal to
> weave all your main classes -->
> </goals>
> </execution>
> </executions>
> <configuration>
> <source>1.6</source>
> </configuration>
> </plugin>
> please tell me what additional parameter I should add ?
>
>
>
> Ramnivas Laddad wrote:
>>
>> Yes, you can use binary weaving to weave into third-party jars. Check
>> documentation for ajc, particularly around the -injar option.
>>
>> -Ramnivas
>>
>> On Thu, Dec 11, 2008 at 9:19 PM, miro <miroconnect@xxxxxxxxx> wrote:
>>>
>>> Is it possible to advice on a method call of a class which is packged in
>>> a
>>> jar file.
>>> for example I want my advice to be called for any method called for
>>> some
>>> class in oracle driver jar ?
>>> --
>>> View this message in context:
>>> http://www.nabble.com/advices-for--methods-from-packaged-classes-tp20968822p20968822.html
>>> Sent from the AspectJ - users mailing list archive at Nabble.com.
>>>
>>> _______________________________________________
>>> aspectj-users mailing list
>>> aspectj-users@xxxxxxxxxxx
>>> https://dev.eclipse.org/mailman/listinfo/aspectj-users
>>>
>> _______________________________________________
>> aspectj-users mailing list
>> aspectj-users@xxxxxxxxxxx
>> https://dev.eclipse.org/mailman/listinfo/aspectj-users
>>
>>
>
> --
> View this message in context: http://www.nabble.com/advices-for--methods-from-packaged-classes-tp20968822p20968985.html
> Sent from the AspectJ - users mailing list archive at Nabble.com.
>
> _______________________________________________
> aspectj-users mailing list
> aspectj-users@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/aspectj-users
>