Package com.day.crx
Interface ObservableRepository
-
public interface ObservableRepository
Marker interface for aRepository
to indicate it allows observation of its life cycle events.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addListener(RepositoryLifecycleListener listener)
Register a listener interested in lifecycle events..void
removeListener(RepositoryLifecycleListener listener)
Unregister a listener that was previously registered.
-
-
-
Method Detail
-
addListener
void addListener(RepositoryLifecycleListener listener)
Register a listener interested in lifecycle events..- Parameters:
listener
- listener to register.
-
removeListener
void removeListener(RepositoryLifecycleListener listener)
Unregister a listener that was previously registered.- Parameters:
listener
- listener to unregister.
-
-