> But, while dataContextDelegate is called as said,
> snapshotEventListener is
> never called.
...
> EventManager.getDefaultManager().addNonBlockingListener(
> snapshotEventListener,
> "snapshotsChanged",
> SnapshotEvent.class,
> domain.getSharedSnapshotCache().getSnapshotEventSubject(),
> domain.getSharedSnapshotCache()
> );
Try dropping the last parameter - sender. This will ensure that ALL
events for a given subject are passed to the listener:
EventManager.getDefaultManager().addNonBlockingListener(
snapshotEventListener,
"snapshotsChanged",
SnapshotEvent.class,
domain.getSharedSnapshotCache().getSnapshotEventSubject());
Andrus
This archive was generated by hypermail 2.0.0 : Fri Dec 30 2005 - 13:28:40 EST