public interface ECPDisposable
Modifier and Type | Interface and Description |
---|---|
static interface |
ECPDisposable.DisposeListener
This interface defines a listener that gets notified when an object is disposed.
|
Modifier and Type | Method and Description |
---|---|
void |
addDisposeListener(ECPDisposable.DisposeListener listener)
Adds a
ECPDisposable.DisposeListener to this instance. |
void |
dispose()
Disposes the current instance.
|
boolean |
isDisposed()
Whether this instance is already disposed.
|
void |
removeDisposeListener(ECPDisposable.DisposeListener listener)
Removed a
ECPDisposable.DisposeListener from this instance. |
boolean isDisposed()
void dispose()
void addDisposeListener(ECPDisposable.DisposeListener listener)
ECPDisposable.DisposeListener
to this instance.listener
- the listener to addvoid removeDisposeListener(ECPDisposable.DisposeListener listener)
ECPDisposable.DisposeListener
from this instance.listener
- the listener to removeCopyright © 2016. All rights reserved.