Re: How to create an activity variable?

"Sasa Bojanic" <[email protected]>
Newsgroups gmane.comp.java.enhydra.shark
Message-ID <003d01c577c7$591f2de0$1200a8c0@bobrock>
Hi,

RepositoryManager interface is only for shark's kernel internal usage, and you shouln't mess with it.
Shark do not allow you to change process definition on fly, and to add another variable into process definition (if that's what you wanted to do).
If you need to add another variable definition to the process, you can modify your XPDL, and than make an update of previous XPDL using PackageAdministration.updatePackage() method.

Regards,
Sasa.
  ----- Original Message ----- 
  From: David Simón 
  To: [email protected] 
  Sent: Wednesday, June 22, 2005 8:05 PM
  Subject: Re: [shark] How to create an activity variable?


  Hi Geeta.

  Thank you but unfortunately I had already tested SharkEngineManager.getInstance().getRepositoryPersistenceManager()  and it is not accesible outside of its package (org.enhydra.shark). I am searching for something public, not depending on the package you are.

  Best regards,

  David.


  El mié, 22-06-2005 a las 13:44 -0400, [email protected] escribió:


    Hi David, 

    I am working with 1.1 so you will have to recheck for 1.0 but in my version Shark.conf has this notation: 
    #RepositoryPersistenceManagerClassName=org.enhydra.shark.repositorypersistence.FileSystemRepositoryPersistenceManager 

    Seems like FileSystemRepositoryPersistenceManager is one implmentation of RepositoryPersistenceManager. 

    Also you could maybe look at PackageAdmin's constructor. This code: 
    SharkEngineManager.getInstance().getRepositoryPersistenceManager() seems to be what you may want. 

    Hope this helps, 
    Geeta 



          David Simón <[email protected]> 

          06/22/2005 12:51 PM 
                Please respond to


                [email protected] 




         To [email protected]  
                cc 
               
                Subject [shark] How to create an activity variable?  


               
               


         



    Hi there,

    I am working with Shark 1.0 and I would like to create an activity variable "on the fly". I have seen that there is a method in order to do this in RepositoryPersistenceManager interface but I do not know how to get a reference to the implementation of this interface. All that I have found are internal references, is there any way to use this or another thing to create and remove and activity variable?

    Thank you.

    Best regards.

    David Simon. 

    -- 
    This message has been scanned for viruses and 
    dangerous content by MailScanner, and is 
    believed to be clean. 

    CONFIDENTIALITY NOTICE:This email is intended solely for the person or entity to which it is addressed and may contain confidential and/or protected health information.  Any duplication, dissemination, action taken in reliance upon, or other use of this information by persons or entities other than the intended recipient is prohibited and may violate applicable laws.  If this email has been received in error, please notify the sender and delete the information from your system.  The views expressed in this email are those of the sender and may not necessarily represent the views of IntelliCare. 


------------------------------------------------------------------------


              David Simón
              OPENTRENDS
              phone: +34 93 320 84 14
              fax: +34 93 300 35 27
              ([email protected])
opentrends_small.gif (image/gif, 533 B) - not displayed
message.footer (text/plain, 271 B)
--
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.