public interface Observer
| Modifier and Type | Field and Description |
|---|---|
static long |
serialVersionUID |
| Modifier and Type | Method and Description |
|---|---|
void |
attach()
This method is called when the instrumented object is created
or when the observer is attached to an existing object.
|
void |
detach()
This method is called when the instrumented object is destroyed
and as a result the observer detached from the object.
|
void |
failed(java.lang.String exceptionName)
Notification of a failure.
|
static final long serialVersionUID
void attach()
void detach()
void failed(java.lang.String exceptionName)
exceptionName - The name of the exception.