Natia,

Those articles talk precisely about how to get a inject a service
(ApplicationStateManager) into another service (AccessController), and
then how to use that ApplicationStateManager to check ASOs for the
current user request. Essentially you must instantiate your service with
the other service as a constructor argument, or via setter injection in
a service builder method.

chris

Natia Gdzelishvili wrote:
> i have read this but, from there i understand how can i use aso, but how can
> i inject services?
>
> On Tue, Sep 2, 2008 at 3:12 PM, Chris Lewis <[EMAIL PROTECTED]>wrote:
>
>   
>> Hello,
>>
>> I assume you haven't yet read these articles:
>>
>> http://wiki.apache.org/tapestry/Tapestry5HowToCreateADispatcher
>> http://wiki.apache.org/tapestry/Tapestry5HowToCreateADispatcher2
>>
>> They answer both of these questions.
>>
>> sinerely,
>> chris
>>
>> Natia Gdzelishvili wrote:
>>     
>>> hello,
>>> i have service BusinessServicesLocator, and AccessController dispatcher.
>>> I want to inject my service unto dispatcher how can i do this?
>>> and also i want to know how can i access application state object from
>>> dispatcher
>>> thank in advance
>>>
>>>
>>>       
>> --
>> http://thegodcode.net
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>>     
>
>   

-- 
http://thegodcode.net

Reply via email to