JBoss AOP works in two ways. Either you precompile your Java .class files to push in the AOP stuff, or you set JBoss AOP up so that it does the bytecode transformations at runtime when the class is loaded. Load-time transformation requires hooks into the classloader.
With JDK 1.4, we originally had to OWN the classloader. Unfortunately, JSPs in tomcat are loaded by a different classloader I think than the JBoss classloader (haven't tried it yet). Fortunately, JDK 5.0 provides a way to hook in your own transformers via the java.lang.instrument package. Kevin Conner recently committed something to CVS that can transform java.lang.classloader so that it can provide hooks for transformation. We should be releasing JBoss AOP 1.0 this week with directions on how to use this. Now, on to the other part of your question.... You'll have to give me more insight on what your goals are with your security framework, then maybe I can suggest some ideas. Bill View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3851728#3851728 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3851728 ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
