The following issue has been updated:
Updater: James Carman (mailto:[EMAIL PROTECTED])
Date: Sat, 14 Aug 2004 8:19 AM
Comment:
Here is an example of how this could be done using Java proxies, as I am not a
javassist expert. However, any of you guys out there who ARE javassist gurus
could easily re-implement this by extending AbstractServiceInterceptorFactory.
I am working on it, but I'm sure someone else could do it faster. Again, this
IS NOT a patch, but merely an example. I am not familiar with writing test
cases for interceptors, but I'll try to figure something out. Again, this does
depend upon the AOP Alliance library (that's why I put it in a contrib
package), but that's what makes it so powerful.
Changes:
Attachment changed to MethodInterceptorFactory.java
---------------------------------------------------------------------
For a full history of the issue, see:
http://issues.apache.org/jira/browse/HIVEMIND-45?page=history
---------------------------------------------------------------------
View the issue:
http://issues.apache.org/jira/browse/HIVEMIND-45
Here is an overview of the issue:
---------------------------------------------------------------------
Key: HIVEMIND-45
Summary: Create interceptor factory supporting aopalliance
MethodInterceptors
Type: Wish
Status: Open
Priority: Minor
Project: HiveMind
Assignee: Howard M. Lewis Ship
Reporter: James Carman
Created: Sat, 14 Aug 2004 7:00 AM
Updated: Sat, 14 Aug 2004 8:19 AM
Description:
The aopalliance project (http://aopalliance.sourceforge.net) provides standard
interfaces for defining MethodInterceptors, akin to HiveMind's concept of
service interceptors. HiveMind (library or contrib) should provide a mechanism
for plugging in an aopalliance MethodInterceptors. If it did, then HiveMind
users could plug in implementations of pre-defined interceptors (Hibernate for
example).
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]