Hi Vjeran,

        In Excalibur CVS, under jakarta-avalon-excalibur/fortress/examples
        there are a few fortress based example applications. They might be a
        good start to get you going.
        
        Hope that helps.
        
        Cheers,
        
        Marcus
        
On Thu, Oct 24, 2002 at 07:35:49AM +0200, Vjeran Marcinko wrote:
> Hi again.
> Due to lack of documentation, can somebody present me some piece of code for usage 
>of Fortress.
> I want nothing fancy, just basic usage (I guess it should be something similar to 
>ECM) so I could experiment with it.
> I tries with something like following ...
> 
> DefaultContainer container = new DefaultContainer();
> container.enableLogging(new ConsoleLogger());
> container.contextualize(ContextBuilder.createDefaultContext());
> Configuration configuration = new 
>DefaultConfigurationBuilder().buildFromFile("system.xconf");
> container.configure(configuration);
> container.initialize();
> Foo foo = (Foo) container.getServiceManager().lookup(Foo.ROLE);
> 
> It raises exception in contextualize() saying it cannot find some settings 
>('container.logManager' etc..) ?!
> 
> Regards,
> Vjeran
> 
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:avalon-users-unsubscribe@;jakarta.apache.org>
> For additional commands, e-mail: <mailto:avalon-users-help@;jakarta.apache.org>
> 

-- 
        .....
     ,,$$$$$$$$$,      Marcus Crafter
    ;$'      '$$$$:    Computer Systems Engineer
    $:         $$$$:   ManageSoft GmbH
     $       o_)$$$:   82-84 Mainzer Landstrasse
     ;$,    _/\ &&:'   60327 Frankfurt Germany
       '     /( &&&
           \_&&&&'
          &&&&.
    &&&&&&&:

--
To unsubscribe, e-mail:   <mailto:avalon-users-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:avalon-users-help@;jakarta.apache.org>

Reply via email to