This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 19258 - better method for creation of Multi Data Objects would be useful
Summary: better method for creation of Multi Data Objects would be useful
Status: RESOLVED WONTFIX
Alias: None
Product: platform
Classification: Unclassified
Component: Data Systems (show other bugs)
Version: 3.x
Hardware: PC All
: P3 blocker (vote)
Assignee: David Konecny
URL:
Keywords: API, ARCH
Depends on:
Blocks:
 
Reported: 2002-01-10 10:29 UTC by David Simonek
Modified: 2008-12-22 18:59 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Simonek 2002-01-10 10:29:30 UTC
Imagine situation when it's needed to programmatically create new multi data
object, recognizable by some module-defined data loader.
During creation, it's needed to create individual files or folders (through file
systems) that constitutes data object and then find it using
DataObject.find(promaryFileObject).
So far so good, but creation of individual files or folders must be done in
atomic action! which is not intuitive at all and module writers will miss it for
sure.

Reason is that FolderRecognizer thread runs asynchronously and can interfere
with process of creationg pieces of data object. As a result data object is
unrecognized for a while, in spite of all its files are correctly created.

Ideally no atomic action should be needed, FolderRecognizer should react
immediatelly somehow.
Comment 1 Marian Mirilovic 2003-03-13 13:43:38 UTC
Changed owner David S. -> David K.
Comment 2 David Konecny 2003-04-30 15:38:46 UTC
Changing TM to FUTURE for several DataSystem enhancements. The DS are planned
for rewrite and so it does not make sense to invest time into these
enhancements. If you think the issue is important and should be fixed for 4.0
then feel free to let me know. I'm open to change the plan.
Comment 3 _ rkubacki 2004-10-22 08:19:28 UTC
No, try to avoid loaders grouping more files. AFAIK winsys does not
need them now.