Located in compilation unit of com.
It keeps the XAdapter implementation and registers always with it. Deregistering occurs on notification by the adapter and the adapter is released.
| Modifier and Type | Field and Description |
|---|---|
| private com. |
| Access | Constructor and Description |
|---|---|
| pack-priv | OWeakRefListener(com.
the XAdapter implementation. adapterThe constructor registered this object with adapter. |
| Modifier and Type | Method and Description |
|---|---|
| public synchronized void | |
| pack-priv synchronized Object | Returns: hard reference to the otherwise weakly kept object.Obtains a hard reference to the object which is kept weak by the adapter and returns it. |
| m_adapter | back to summary |
|---|---|
| private com. | |
| OWeakRefListener | back to summary |
|---|---|
| pack-priv OWeakRefListener(com. The constructor registered this object with adapter.
| |
| dispose | back to summary |
|---|---|
| public synchronized void dispose() Method of When called, it deregisters this object with the adapter and releases the reference to it. | |
| get | back to summary |
|---|---|
| pack-priv synchronized Object get() Obtains a hard reference to the object which is kept weak by the adapter and returns it.
| |