Re: [aspectwerkz-dev] include element in aop.xml
"Alex" <alex-he/e8N7AIe/[email protected]>
| Newsgroups | gmane.comp.java.aspectwerkz.devel |
|---|---|
| Message-ID | <[email protected]> |
include and exclude are "className.startWith" tests mainly to allow fast filtering. I am not sure it would be good to allow for more complex "include", since those are handled by your pointcut definition anyway (execution(javax.sql.DataSource+.*(..) etc) What do you need exactly ? ----- Original Message ----- From: "eu" <eu-E/[email protected]> To: <[email protected]> Sent: Wednesday, July 14, 2004 9:35 PM Subject: [aspectwerkz-dev] include element in aop.xml > Hi, > > I wonder if it will be possible to implement additional feature for > include/exclude elements in aop.xml. > > I need to intercept calls to subclasses of the well known interface > (e.g. PreparedStatement.execute() or DataSource.create()), so I wonder > if include can use similar syntax to pointcut definition. For example > > <include class="javax.sql.DataSource+"/> > > to instrument all subclasses (including vendor specific from WLS or > Oracle) > > <include class="java.io.File"/> > > to instrument concrete class (File maybe a bad example, but anyway). > > regards, > Eugene > > >