"alesj" wrote:
But if I want to remove the hack with joinpoint being ControllerContext aware, I need to get the context's name from somewhere.
"adrian@jboss.org" wrote:
No you don't, you just need to match the scope level. The name is irrelevant
for the single MetaDataContext (you already got the correct one)
as opposed to looking it up in the repository.
"alesj" wrote:"adrian@jboss.org" wrote:
No you don't, you just need to match the scope level. The name is irrelevant
for the single MetaDataContext (you already got the correct one)
as opposed to looking it up in the repository.
I guess the MetaData.getScopeMetaData() method should then take ScopeLevel as parameter, and not the whole ScopeKey.