[jboss-dev-forums] [Design of AOP on JBoss (Aspects/JBoss)] - Re: Metadata rewrite

kabir.khan@jboss.com do-not-reply at jboss.com
Fri Nov 3 08:24:05 EST 2006


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



More information about the jboss-dev-forums mailing list