RE: How to get Package version of instatiated process?
"Dahl, Greg (BLM) - contr" <[email protected]>
| Newsgroups | gmane.comp.java.enhydra.shark |
|---|---|
| Message-ID | <A8155E0D38B9D84D88EAC58C2D8F47BA05D7EFE5@blmms060.accounts.root.corp> |
Sorry. Didn't quite understand your question. There must be a way to do it with the Shark interface, however a quick check of it and I can't seem to find anything obvious. Although not an ideal solution, if you wanted to, you could figure out the current package version at the time the process was instantiated and update a process variable. Then, you could always query that variable to find out later. Greg > -----Original Message----- > From: Raphael Kunis [mailto:[email protected]] > Sent: Thursday, July 28, 2005 9:04 AM > To: [email protected] > Subject: Re: [shark] How to get Package version of > instatiated process? > > > I think that won't help, because this returns just the current last > updated package version. What I need is the version of the package an > instatiated process was created with. > > For example: > I cretae a process when the package version is 1. After that I update > the package. The current version is now 2. This is what the > function you > mentioned returns. What I need is a function that returns 1, > because my > process is defined in the old package with version 1. > > Regards, > Raphael > > Dahl, Greg (BLM) - contr schrieb: > > Try > > > > > SharkInterface.getAdminInterface().getPackageAdministration().getCurre > > nt > > PackageVersion(java.lang.String pkgId); > > > > Greg > > > > > >>-----Original Message----- > >>From: Raphael Kunis [mailto:[email protected]] > >>Sent: Thursday, July 28, 2005 8:16 AM > >>To: [email protected] > >>Subject: [shark] How to get Package version of instatiated process? > >> > >> > >>Hi, > >> > >>is there a way to get the package version of an instatiated > process?. > >> > >>Regards, > >>Raphael > >> > >> > > > > ******* Confidentiality Notice ******* > > This email, its electronic document attachments, and the > contents of > > its website linkages may contain confidential health information. > > This information is intended solely for use by the individual or > > entity to whom it is addressed. If you have received this > information > > in error, please notify the sender immediately and arrange for the > > prompt destruction of the material and any accompanying attachments. > > > > > > > > > > > > > > > ---------------------------------------------------------------------- > > -- > > > > > > -- > > 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 > > >
message-footer.txt
(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