[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: Setting dynamic metadata

2004-08-25 Thread Bill Burke
fixed in RC1 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846184#3846184 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3846184 --- SF.Net email is sponsored by Sho

[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: Setting dynamic metadata

2004-08-24 Thread rkadayam
I think there is a bug in AspectManager.addClassMetaData. The line | if (meta.matches(advisor, advisor.getClass())) | should actually be | if (meta.matches(advisor, ((ClassAdvisor)advisor).getClazz())) | I've rephrased the method implementation here. | | public void addClas

[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: Setting dynamic metadata

2004-08-24 Thread rkadayam
I'm trying to set "class, default or method meta-data" at run-time, by constructing the annotation xml by hand, loading it using the SimpleClassMetaDataLoader and then calling AspectManager.addClassMetaData(ClassMetaDataBinding) Here is a snapshot of the code | String tag = "security"; |