Hi,

Just about to implement this. I figure that we stick with the pattern
established by Configuration and have exception thrown from Context.get() -
you can always manually rethrow a ContextException if it doesn't conform to
your context rules set.

One thing I was thinking about - should there be a method like

Object get( String key, Object defaultValue );

My initial reaction was to say no as a valid context should never return
null. The reason being that COntext is effectively part of
Container-Component contract and if that is violated then that means the
Container is Fubar. Anyone else have any thoughts?


Cheers,

Pete

*------------------------------------------------------*
| "Computers are useless. They can only give you       |
|            answers." - Pablo Picasso                 |
*------------------------------------------------------*

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to