Re: participants list & possibility of knowing activity participant in advance

Sasa Bojanic <[email protected]> Tue, 30 Oct 2007 10:38:14 +0100
Newsgroups gmane.comp.java.enhydra.shark
Message-ID <[email protected]>
This is a multi-part message in MIME format...

------------=_1193737278-10408-3
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Hi,

if you implement custom assignment manager, it is up to you to code what 
it will do. In your implementation, you may e.g. access WebServices, you 
can access DB, you can ask for more information from shark, ... you can 
do what ever you want. I don't really understand what is your real 
intention...but it seems assignment manager might be the right place to 
do it...

Regards,
Sasa.

Pedro_uninova wrote:
> Hi, 
> 	Can you explain which are the  advantages of changing the of
> "Shark's AssignmentManager plug-in API"? 
> 	This modification will resolve which of my questions?? Sorry :s
>
> Many thanks, 
> 	Pedro
>
> -----Mensagem original-----
> De: Sasa Bojanic [mailto:[email protected]] 
> Enviada: segunda-feira, 29 de Outubro de 2007 14:07
> Para: [email protected]
> Assunto: Re: [shark] participants list & possibility of knowing activity
> participant in advance
>
> Hi,
>
> you probably need to make your own implementation of Shark's
> AssignmentManager plug-in API and configure shark to use it.
> Amongst other parameters, the method getAssignments() gets PerformerData as
> a parameter. This structure holds the information about the participant from
> XPDL.
>
> Regards,
> Sasa.
>
> Pedro_uninova wrote:
>   
>> Hi,
>>
>> I have a process that has 3 participant (for example: printer, 
>> monitor, keyboard).
>>
>> Establishing only one connection.
>>
>> *-It's possible to distribute the activities to the several 
>> participants ( sort of dynamically)*, previous defined in the xpdl, so 
>> this way I can direct the relevant data to the right hardware?
>>
>> This question is because when establishing only one connection, and 
>> due to the fact that I don't have any participant mapping done ( it 
>> can't be done in advance because the number of participants is not 
>> fixed), shark assigns all activities to "me"! right?
>>
>> Example: in the process instance when shark reaches an activity that 
>> should be performed by the printer it says:
>>
>> Activity: print picture
>>
>> Variables needed: data1;data2
>>
>> State: open.notrunning
>>
>> Participant: _printer_
>>
>> Etc....
>>
>> Using this information I want my program to see that this action is to 
>> be sent to the printer (hardware) with the command "print picture" and 
>> data "data1+data2".
>>
>> Resuming:
>>
>> *-it is possible to know, despite shark already assign the activity to 
>> the program who made the connection, the original participant to which 
>> the activity is "assigned" in the xpdl?*
>>
>> *- how can I retrieve all participants in advance??*
>>
>> * *
>>
>> One more time thanks for all the help.
>>
>> Regards,
>>
>> Pedro
>>
>> ----------------------------------------------------------------------
>> --
>>
>>
>> --
>> You receive this message as a subscriber of the [email protected]
>>     
> mailing list.
>   
>> To unsubscribe: mailto:[email protected]
>> For general help: mailto:[email protected]?subject=help
>> ObjectWeb mailing lists service home page: 
>> http://www.objectweb.org/wws
>>   
>>     
>
>
>
>
>
>   
> ------------------------------------------------------------------------
>
>
> --
> You receive this message as a subscriber of the [email protected] mailing list.
> To unsubscribe: mailto:[email protected]
> For general help: mailto:[email protected]?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>   



------------=_1193737278-10408-3
Content-Type: text/plain; name="message-footer.txt"
Content-Disposition: inline; filename="message-footer.txt"
Content-Transfer-Encoding: 8bit


--
You receive this message as a subscriber of the [email protected] mailing list.
To unsubscribe: mailto:[email protected]
For general help: mailto:[email protected]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws

------------=_1193737278-10408-3--