Class BmNotifications


  • @Deprecated
    public class BmNotifications
    extends Object
    Deprecated.
    This class has been introduced to support legacy solutions only. New solutions should use BM events.
    Solution allowing to port legacy code using EMF adapters.
    • Constructor Detail

      • BmNotifications

        public BmNotifications()
        Deprecated.
    • Method Detail

      • addGlobalListener

        public static void addGlobalListener​(IBmObject topObject,
                                             IBmNotificationListener listener)
        Deprecated.
        Adds listener to modifications of the given top object and its containments. The listener will receive a notification even if a different instance is modified. You can add a listener to a global instance then modify the object using another instance in transaction, and the listener will be invoked.
        Parameters:
        topObject - The top object. May not be null.
        listener - The listener. May not be null.
      • removeGlobalListener

        public static void removeGlobalListener​(IBmObject topObject,
                                                IBmNotificationListener listener)
        Deprecated.
        Removes listener to modifications of the given top object and its containments.
        Parameters:
        topObject - The top object. May not be null.
        listener - The listener. May not be null.