- All Known Subinterfaces:
ChildInvocationObserver,CollocatedObserver,ConnectionObserver,DispatchObserver,InvocationObserver,RemoteObserver,ThreadObserver
- All Known Implementing Classes:
Observer,ObserverWithDelegate,ObserverWithDelegateI
public interface Observer
The object observer interface used by instrumented objects to notify the observer of their existence.
-
Method Summary
-
Method Details
-
attach
void attach()Notifies the observer that an instrumented object was created. -
detach
void detach()Notifies the observer that an instrumented object was destroyed. -
failed
Notifies the observer of a failure.- Parameters:
exceptionName- The name of the exception.
-