Drew,

1// There's a lot of good documentation in the API docs:
http://rifers.org/docs/api/com/uwyn/rife/rep/package-summary.html

From the docs page: "A Participant is basically a service that needs
to be initialized before it can return objects that correspond to
specified identification keys."

2// You can also use this page from the old docs:
http://rifers.org/docs/usersguide/ch06s01.html

3// The image on this page normally, also, serves as a good overview
of the rife's structure for me:
http://rifers.org/wiki/display/RIFE/IoC+properties+support+inside+the+repository

Simply extend BlockingParticipant or SingleObjectParticipant to create
your own custom participants, and then add them to your
participants.xml file in your repository. For instance, in the
petstore app i am currently working on, I have a PopulateParticipant,
that uses some custom Comma sep vals (CSV) extractor classes I have
written to pull data from text files to be inserted in the test
database. I have attached that to give you an idea.

I mentioned participants briefly here:
http://video.google.com/videoplay?docid=1163267747129711638&q=okyere&pl=true

HTH

Cheers,
Emmanuel

On 4/28/06, Drew Kutcharian <[EMAIL PROTECTED]> wrote:
Hi Everyone,

I would like to know where I can find more detailed information about RIFE's
Participants. I would like to know what they exactly do, how is their
lifecycle being managed, and how can I write a custom one.

The reason is that I like to be able to inject my Service (Business Logic)
layer objects into RIFE's elements. (ie use Spring to manage my Backend
beans and then use the custom Participant to inject those backend beans into
RIFE's elements after Spring is done with wiring them) (also, I want to use
the participant to start the Spring container before launching the webapp)

I looked into SpringWebParticipant, but I'm not sure if that's what I need
to use. The documentation wasn't very detailed.


Thanks,
Drew


_______________________________________________
Rife-users mailing list
[email protected]
http://lists.uwyn.com/mailman/listinfo/rife-users





--
Johann Wolfgang von Goethe - "Character develops itself in the stream of life."

Attachment: Populate.java
Description: Binary data

_______________________________________________
Rife-users mailing list
[email protected]
http://lists.uwyn.com/mailman/listinfo/rife-users

Reply via email to