[kepler-dev] Loading an actor

Edward A. Lee eal at eecs.berkeley.edu
Wed Sep 29 13:28:39 PDT 2004


You could put the initialization in the constructor...

Edward

At 11:56 AM 9/29/2004 -0700, Ilkay Altintas wrote:

>Hi,
>
>I have a question on what is being called when we first
>load a workflow (and so the actors in it) using file-open
>from the menu.
>
>In the web service actor, I need to initialize some
>global private variables when the workflow gets loaded.
>If I do it in preinitialize or initialize, it will wait
>until the workflow is executed. But I need it when the
>workflow is being opened. Is there a method of the
>TypedAtomicActor class that I can use for this purpose?
>
>Thanks a million on advance,
>Ilkay
>_______________________________________________
>kepler-dev mailing list
>kepler-dev at ecoinformatics.org
>http://www.ecoinformatics.org/mailman/listinfo/kepler-dev

------------
Edward A. Lee, Professor
518 Cory Hall, UC Berkeley, Berkeley, CA 94720
phone: 510-642-0455, fax: 510-642-2739
eal at eecs.Berkeley.EDU, http://ptolemy.eecs.berkeley.edu/~eal




More information about the Kepler-dev mailing list