[prev in list] [next in list] [prev in thread] [next in thread] 

List:       turbine-dev
Subject:    Re: Some disapointment
From:       "Andrey Larionov" <anlarionov () gmail ! com>
Date:       2008-03-07 19:57:25
Message-ID: b831ed00803071157p58dadb68j9e1c5391bede1de2 () mail ! gmail ! com
[Download RAW message or body]

I try to port Scarab from Turbine 3.0Alpha to Turbine 2.4. In 3.0 was
defined both getter and setter and in three places this methods used
to get absolute path for some file location.
I think you are right i need analyze code before, but if method
implemented why it can't be accessed through interface?

2008/3/7, Thomas Vandahl <tv@apache.org>:
> Andrey Larionov wrote:
>  > In Turbine 2.4 there is interface ServiceManager (returned by
>  > TurbineServices.getInstance()), it have setApplicationRoot() method
>  > but no getter for this property defined in interface, but
>  > TurbineServices have an implementation.
>  > How could i get this property without casting?
>
>
> The fact that you seem to need the service container application root
>  suggests that you're doing something very unusual. What are you trying
>  to achieve?
>
>  Bye, Thomas.
>
>  ---------------------------------------------------------------------
>  To unsubscribe, e-mail: dev-unsubscribe@turbine.apache.org
>  For additional commands, e-mail: dev-help@turbine.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@turbine.apache.org
For additional commands, e-mail: dev-help@turbine.apache.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic