From: twundke <nu...@jb...> - 2005-05-10 03:10:27
|
I'm using runtime AOP as a part of JBoss Cache. This is all contained within a standalone application that uses custom class loaders and custom ProtectionDomain objects. The problem that I'm seeing is that AOP-generated classes lose their associated protection domain, which in my case contains various additional fields that my application requires. This problem is easy to verify as AspectManager.transform doesn't pass on the ProtectionDomain object when calling the translate method. The protection domain is simply lost. Would it be possible to assign to the transformed class the same protection domain object as the original class? Thanks. Tim. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3877102#3877102 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3877102 |