|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The ItemLifeCycleListener
interface allows an implementing
object to be informed about changes on an Item
instance.
ItemImpl#addLifeCycleListener
Method Summary | |
void |
itemCreated(ItemImpl item)
Called when an ItemImpl instance has been created. |
void |
itemDestroyed(ItemId id,
ItemImpl item)
Called when an ItemImpl instance has been destroyed
(i.e. |
void |
itemInvalidated(ItemId id,
ItemImpl item)
Called when an ItemImpl instance has been invalidated
(i.e. |
Method Detail |
public void itemCreated(ItemImpl item)
ItemImpl
instance has been created.
item
- the instance which has been createdpublic void itemInvalidated(ItemId id, ItemImpl item)
ItemImpl
instance has been invalidated
(i.e. it has been temporarily rendered 'invalid').
Note that most Item
,
Node
and Property
methods will throw an InvalidItemStateException
when called
on an 'invalidated' item.
id
- the id of the instance that has been discardeditem
- the instance which has been discardedpublic void itemDestroyed(ItemId id, ItemImpl item)
ItemImpl
instance has been destroyed
(i.e. it has been permanently rendered 'invalid').
Note that most Item
,
Node
and Property
methods will throw an InvalidItemStateException
when called
on a 'destroyed' item.
id
- the id of the instance that has been destroyeditem
- the instance which has been destroyed
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |