Re: DODSRepositoryPersistenceManager uploadXPDL
[email protected] Thu, 15 Sep 2005 09:03:22 -0400
| Newsgroups | gmane.comp.java.enhydra.shark |
|---|---|
| Message-ID | <OF27E6FEAD.477A725A-ON8525707D.00472287-8525707D.0047B8F5@intellicare.com> |
Hi Nelson, I have some old code to do this. Here it is:
PackageAdministration pa =
Shark.getInstance().getAdminInterface().getPackageAdministration();
RepositoryMgr rm = Shark.getInstance().getRepositoryManager();
String pkgId = rm.getPackageId(xpdlName);
if (!pa.isPackageOpened(pkgId)) {
try {
pa.openPackage(xpdlName);
}
catch (Throwable e) {
log.error(e);;
throw new BaseException(e);
}
}
Hope this helps,
Geeta
[email protected] wrote on 09/14/2005 06:27:58 PM:
> Hi,
>
> I have shark configured to use a database instead file system. I'm
> using it as library not as server. It is properly configured, I can
> open connections without problem. My question is what is the best
> way to upload a XPDL now ?
>
> I've tried to find information about
> DODSRepositoryPersistenceManager.uploadXPDL (?) but I've found
> nothing, can anyone provide me a code sample. The javadoc does not
> provide enough information to fully understand the process.
>
> Thank you for your Help
> Nelson
>
>
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
>
>
> --
> 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
>
> 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.
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