<big snip>
 
> I also want to add that the current interface for Metadata, metadata
> chains,
> and how you configure metadata is open for debate.  It probably is not a
> complete definition and I'm open for suggestions.  I'm hoping that as I
> port
> some of the current interceptors more requirements will be flushed out.
> Persistence will be the big test.

I don't have any very solid ideas yet, but I think these would be
improvements:

1. Single level lookups with Object keys rather than String: Object
getMetadata(Object key).  Why force the guy storing the metadata to use a
concealed hashmap with String keys?

2. Put the default metadata in the thing that supplies the chain of
interceptors (Advisor?), and always add it first to what the Invocation
gets. (rather than putting the default metadata in the Invocation directly.

I have some code with  these ideas, I'll try to commit it or send it to you
later today.

I think it will take some experimentation to get something that works
really well.

david

> 
> Bill
> 
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Jboss-development mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-development
> 
> 


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to