Issue 2460: EventTypeRepository class issue (notif_service-rtf) Source: (, ) Nature: Uncategorized Issue Severity: Summary: Summary: In Appendix A it is stated that "the EventTypeRepository class only has one instance in any given implementation of the Repository". At the same time, there is a package interface and a package factory that implies that it"s possible to create multiple repositories (unless the NotificationTypesPackage interface is expected to always returns the same objects, no matter how many packages one have created). Resolution: Revised Text: Actions taken: February 19, 1999: received issue Discussion: End of Annotations:===== Date: Fri, 19 Feb 1999 11:37:39 -0600 From: Bjarne Rasmussen Organization: PrismTech Corp To: issues@omg.org Subject: Notification Service RTF Issue Notification Service RTF Issue: In Appendix A it is stated that "the EventTypeRepository class only has one instance in any given implementation of the Repository". At the same time, there is a package interface and a package factory that implies that it's possible to create multiple repositories (unless the NotificationTypesPackage interface is expected to always returns the same objects, no matter how many packages one have created). If the EventTypeRepository is meant to be a singleton within the repository, the Contains interface is confusing as most of the operations specifically include a repository 'container' parameter. Is this just a result of the MOF mapping or are you for instance meant to be able to move an event type from a repository in one package to a repository in another package? Is the offer_change and subscription_change operations of the NotifyPublish and NotifySubscribe interfaces meant to raise the InvalidEventType exception if an event type repository is present, and the type in question has not been defined? If more than one EventTypeRepository class is allowed, how is the notification service meant to find them given the current IDL? Thanks, Bjarne. -- Bjarne Rasmussen, Senior Software Engineer (M.Sc) PrismTech Limited, http://www.prismtechnologies.com