Stefan Köhler wrote:

Hello,

currently we're trying to port an application to Fortress. and we're struggling if there is a simple way to build a hierarchy of containers in Fortress. The problem is, that we'd like to
have a different Context for different parts of the application
but it seems not so easy to extend the root context.
I'm quite new to fortress and would appreciate any help.
Maybe someone's even going to write the missing article
"Set up a simple container of containers using Fortress" at
http://nagoya.apache.org/wiki/apachewiki.cgi?AvalonContainerWriting


This is actually very easy to do. Just extend a class from DefaultContainer and
make sure it implements a specific interface and use it as a component
under another container. When you get the Context, you can create a
new DefaultContext with the given Context as it's parent.


- Filip



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



Reply via email to