public interface ItemLifeCycleListener
ItemLifeCycleListener
interface allows an implementing
object to be informed about changes on an Item
instance.Modifier and Type | Method and Description |
---|---|
void |
itemCreated(Item item)
Called when an
Item instance has been created. |
void |
itemDestroyed(Item item)
Called when an
ItemImpl instance has been destroyed
(i.e. |
void |
itemUpdated(Item item,
boolean modified)
Called when an
Item instance has been refreshed. |
void itemCreated(Item item)
Item
instance has been created.item
- the instance which has been createdvoid itemUpdated(Item item, boolean modified)
Item
instance has been refreshed. If
modified
is true
, the refresh included
some modification.item
- the instance which has been refreshedvoid itemDestroyed(Item item)
ItemImpl
instance has been destroyed
(i.e. it has been permanently rendered 'invalid').
Note that most
,
Item
and Node
methods will throw an Property
InvalidItemStateException
when called
on a 'destroyed' item.
item
- the instance which has been destroyedCopyright © 2004–2021 The Apache Software Foundation. All rights reserved.