Re: PROPOSAL (round 3): Extensions to MDR XMI API
Brian Smith <[email protected]>
| Newsgroups | gmane.comp.java.netbeans.modules.mdr.devel |
|---|---|
| Organization | CollabNet Hosting |
| Message-ID | <[email protected]> |
Brian Smith wrote: > I'm not sure how to do it. It does seem like there needs to be one > XMIReferenceResolver created each time a document is read: > XMIReferenceResolver is stateful and so it can't be used by multiple > threads concurrently. Also there is no way to reset the reference > resolver to its initial state, so it can't be used on multiple documents > even in a serialized manner. I know that some people want to create stub Sorry to respond to myself, but I just wanted to note that the reason I'm concerned about the threading/reusability of XMIReferenceResolver et al. is because of the way I am thinking to use Lookup to get default configurations (as is demonstrated in the HTML attachment). Perhaps that is not an appropriate use of Lookup and so maybe being able to reuse these objects concurently/serially is not important. I don't know because I'm not that familiar with NetBeans infrastructure. - Brian