Package nl.talsmasoftware.context.observer

Observe context changes

ContextObserver

Interface that can be implemented to observe context changes.

Each call to ContextManager.initializeNewContext(java.lang.Object) or Context.close() is sent to all relevant context observers.

Each observer must specify which context manager is being observed by implementing the ContextObserver.getObservedContextManager() method. Context observers are looked up by java's ServiceLoader.