hot deployment and multiple pointcuts

"Joseph Milora" <[email protected]> Thu, 8 May 2003 12:19:01 -0700
Newsgroups gmane.comp.java.aspectwerkz
Message-ID <004001c31596$aec06d30$0f02a8c0@win2000mjknnai>
This is a multi-part message in MIME format.

------=_NextPart_000_003D_01C3155C.024AB1D0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi,

I have a question about the hot deployment.
If I want to dynamically add an advice to an aspect, do I have to =
specify every pointcut?
For example, with the logging example, if I specify a pointcut pattern =
of to.*, every toLog(n)
call will be intercepted. If I try to add an advice dynamically, I'd =
like to be able to specify the same
pattern, without having to manually add each method explicitly.=20
Also, the ability to add new advices dynamically looks great, but I'm =
having a problem accessing the
cvs repository to get the latest build.

BTW great tool!
Thanks in advance,
Joe Milora
------=_NextPart_000_003D_01C3155C.024AB1D0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1170" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hi,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I have a question about the hot=20
deployment.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>If I want to dynamically add an advice =
to an=20
aspect, do I have to specify every pointcut?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>For example, with the logging example, =
if I specify=20
a pointcut pattern of to.*, every toLog(n)</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>call will be intercepted. If I try to =
add an advice=20
dynamically, I'd like to be able to specify the same</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>pattern, without </FONT><FONT =
face=3DArial=20
size=3D2>having to manually add each method explicitly. </FONT><FONT =
face=3DArial=20
size=3D2></FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Also, the ability to add new advices =
dynamically=20
looks great, but I'm having a problem accessing the</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>cvs repository to get the latest=20
build.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>BTW great tool!</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Thanks in advance,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Joe Milora</FONT></DIV></BODY></HTML>

------=_NextPart_000_003D_01C3155C.024AB1D0--



-------------------------------------------------------
Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara
The only event dedicated to issues related to Linux enterprise solutions
www.enterpriselinuxforum.com