Hello James;

Currently conversation context is provided for using it in a JSF environment 
(This is defined by the JSR299 specification.). Responsible classes are

* WebBeansPhaseListener (For creating/destroying ConversationContext)
* ConversationAwareViewHandler (For non-faces get Request conversation 
propogation via redirect, adding cid URL parameter to URL)

You can look at those classes how to handle Conversation creation/destroy. 
Those implementations are based on the requirements in the specification.

Regard to ConversationService SPI
-------------------------------------------------------
This SPI is used by the ConversationBean to create RequestScope Conversation 
instance. Each conversation is stored with "session_id and conversation_id". 
Therefore you have to provide implementation of ConversationService. Also, you 
have to provide implementation class that is responsible for 
creating/destroying conversation context (For JSF, it is handled by 
WebBeansPhaseListener). It mainly uses ConversationManager singleton to do its 
job.

Thanks;

--Gurkan




________________________________
From: James Carman <[email protected]>
To: [email protected]
Sent: Tue, March 30, 2010 10:01:28 PM
Subject: Re: Resuming Conversations...

Should I perhaps create a new class called WicketConversationService
which implements ConversationService?  Would that be the easiest way?

On Tue, Mar 30, 2010 at 2:53 PM, James Carman
<[email protected]> wrote:
> Ok, so how do I resume a conversation using OWB?  Suppose I know (via
> a request parameter or something) that the conversation I need to
> resume has id "123".  What API call do I use to resume it?
>
> On Tue, Mar 30, 2010 at 2:50 PM, Mark Struberg <[email protected]> wrote:
>> Hi James, Nik!
>>
>> There is currently also a long discussion between JBoss folks about whether 
>> the current Conversation itself is sufficient or if they should add 
>> functionality in the spec MR.
>> But I'm not sure if there was an outcome yet.
>>
>> Which means as long as the MR hasn't released, we cannot provide you with 
>> some portable interface :(
>>
>> LieGrue,
>> strub
>>
>> --- James Carman <[email protected]> schrieb am Di, 30.3.2010:
>>
>>> Von: James Carman <[email protected]>
>>> Betreff: Re: Resuming Conversations...
>>> An: [email protected]
>>> Datum: Dienstag, 30. März, 2010 20:25 Uhr
>>> Well, right now, I've got
>>> implementation-specific jars for my wicket
>>> integration.  So, I guess I can do it that way, but
>>> I'd rather do it
>>> in a "portable" fashion if I can.
>>>
>>> On Tue, Mar 30, 2010 at 2:01 PM, Nicklas Karlsson <[email protected]>
>>> wrote:
>>> > Mark Struberg was *just* about to comment on the
>>> ConversationManager API
>>> > suggestion I mailed him about a few weeks ago ;-)
>>> >
>>> > On Tue, Mar 30, 2010 at 8:55 PM, James Carman 
>>> > <[email protected]>wrote:
>>> >
>>> >> Is there a portable way to resume conversations
>>> with OWB (or using the
>>> >> standard API for that matter)?  I would love to
>>> be able to write my
>>> >> Wicket CDI support using the standard API, but so
>>> far I can't figure
>>> >> out how to do that.
>>> >>
>>> >
>>> >
>>> >
>>> > --
>>> > ---
>>> > Nik
>>> >
>>>
>>
>> __________________________________________________
>> Do You Yahoo!?
>> Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz 
>> gegen Massenmails.
>> http://mail.yahoo.com
>>
>



      ___________________________________________________________________
Yahoo! Türkiye açıldı!  http://yahoo.com.tr
İnternet üzerindeki en iyi içeriği Yahoo! Türkiye sizlere sunuyor!

Reply via email to