[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[List Home]
|
Re: [aspectj-users] help on pointcuts weaving
|
- From: "Eric Bodden" <eric.bodden@xxxxxxxxxxxxxx>
- Date: Thu, 26 Jun 2008 09:27:36 -0400
- Delivered-to: aspectj-users@eclipse.org
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender :to:subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references :x-google-sender-auth; bh=ez2NYjjogNR6OGLqMZmxRcZ2J1jKBa2tnx1WM/T6JVQ=; b=b0MoNFbrnG3QQnDE+Cu6Ayj2DKQS7UQANJufIe9/CxKxSA9q+cv1zWyQsfmVcuh5mm bm5IXgLpMHPOtULOaJZBqSpLPyVZJ8UpP5VqxVpP0QivFZ8dfeN+WtUe4IdBHYnBDrCB 05rf+pqRcIhy5zSZ3RweVkU5icEzdOFhJ39pA=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=message-id:date:from:sender:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references:x-google-sender-auth; b=QxDZ8FpbKIm+Lu3s/6CtvsljUToCE6ySPxRrD7mUUNsMSFLX9ynbrGG1Ru2jXot1OR Zi9q/gJ0S7rqVLj/xN0NpQHKUizJpUQlLSe2lnMg0BxHd5XspyTmLSazLlP35He74aYC gaA5suosEQ/ICWE3HiFvaCuO4Uf8zEmT7S7x8=
You want:
call(public * Socket.getLocalHost(..)) && withincode(public *
testSockets.*(..));
And maybe you want to read a good book about AspectJ.
Eric
2008/6/26 Neeraja Maniyani <neeraja.maniyani@xxxxxxxxx>:
>
> I have mistaken the previous result shown in the decompiled class file..It
> is obviuos that the advice got woven at that many points.
>
> But for this point cut,
>
> call(public * Socket.getInetAddress.getLocalHost(..)) && withincode(public *
> testSockets.*(..));
>
> I am still not able to weave in the advice.Is there any other way to call
> these methods.
>
> thanks.
>
> neeraja.
> _______________________________________________
> aspectj-users mailing list
> aspectj-users@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/aspectj-users
>
>
--
Eric Bodden
Sable Research Group
McGill University, Montréal, Canada