[aspectwerkz-dev] include element in aop.xml

eu <eu-E/[email protected]>
Newsgroups gmane.comp.java.aspectwerkz.devel
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.