Package com._1c.g5.v8.bm.core
Class BmNotifications
- java.lang.Object
-
- com._1c.g5.v8.bm.core.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 Summary
Constructors Constructor Description BmNotifications()
Deprecated.
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static void
addGlobalListener(IBmObject topObject, IBmNotificationListener listener)
Deprecated.Adds listener to modifications of the given top object and its containments.static void
removeGlobalListener(IBmObject topObject, IBmNotificationListener listener)
Deprecated.Removes listener to modifications of the given top object and its containments.
-
-
-
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 benull
.listener
- The listener. May not benull
.
-
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 benull
.listener
- The listener. May not benull
.
-
-