|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface EntityProviderChangeNotifier<T>
Interface to be implemented by EntityProviders that wish to notify
clients (in practice EntityContainers) when their contents change.
The EntityProvider should at least notify its listeners of the following events:
This is useful in situations where several EntityContainers share the same entity provider.
| Method Summary | |
|---|---|
void |
addListener(EntityProviderChangeListener<T> listener)
Registers listener to be notified of
EntityProviderChangeEvents. |
void |
removeListener(EntityProviderChangeListener<T> listener)
Removes the previously registered listener. |
| Method Detail |
|---|
void addListener(EntityProviderChangeListener<T> listener)
listener to be notified of
EntityProviderChangeEvents.
listener - the listener to register (must not be null).void removeListener(EntityProviderChangeListener<T> listener)
listener - the listener to remove (must not be null).
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||