Schaible, J�rg wrote:
Hi Dider,

lastly I came up with a slightly different solution. Instead of
creating my own Context wrapper class, I just use the
DefaultContext's ctor with an initializing Map, because all I wanted
was to add new entries into the context:

=========== snip =========== final DefaultContext lContext = new
DefaultContext(initializeMap(), FortressConfig.createDefaultConfig()); lContext.makeReadOnly(); final
FortressConfig lConfig = new FortressConfig(lContext); ===========
snap ===========


initializeMap is a method of my servlet and has access to its
configuration, so I create a new map and fill it with any needed
entry of the servlet's config.

Thanks for your input (also to Leo)

Regards, J�rg


BTW: Is this something for the wiki?

yep. Think that's roughly the best setup I guess :D


- LSD



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



Reply via email to