[Design of AOP on JBoss (Aspects/JBoss)] - Re: Metadata rewrite
by kabir.khan@jboss.com
I have rewritten the AOPMetaDataContext and friends to use the new metadata, and so had to tweak the API. All tests pass, but I will look a bit more at how I am defining the tree since I am not sure if things like overriding will actually work how I set it up...
A few things:
I left the org.jboss.repository.spi.MetaDataContext interface as the parent for the AOPMetaDataContext, it should probably be moved to org.jboss.metadata., but there already is a context.MetaDataContext there which I am not sure what does.
I also created an intermediate interface org.jboss.kernel.spi.metadata.MutableMetaDataContext for the addition of the annotations from the metadata, since stuff like AnnotationMetaData is unknown to the kernel module.
I create the bean metadata at instance level, but am ignoring any parent scopes for now, so that needs to be handled.
For the joinpoint data, I now create a subscope of the instance scope at joinpoint level indexed by method hash
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3982960#3982960
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3982960
18 years, 2 months