|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface LifeCycleListener
Enables to be aware of the life cycle of the object managed by chromattic with respect to the underlying JCR session. Those life cycle callbacks does not guarantees that they will translate to operations with the persitence storage as there are not guarantees that the session will be saved.
| Method Summary | |
|---|---|
void |
added(java.lang.String id,
java.lang.String path,
java.lang.String name,
java.lang.Object o)
An object is added to the session. |
void |
created(java.lang.Object o)
An object is created. |
void |
loaded(java.lang.String id,
java.lang.String path,
java.lang.String name,
java.lang.Object o)
An object is loaded from the session. |
void |
removed(java.lang.String id,
java.lang.String path,
java.lang.String name,
java.lang.Object o)
An object is removed from the session. |
| Method Detail |
|---|
void created(java.lang.Object o)
o - the created object
void loaded(java.lang.String id,
java.lang.String path,
java.lang.String name,
java.lang.Object o)
id - the id of the objectpath - the path of the objectname - the name of the objecto - the object
void added(java.lang.String id,
java.lang.String path,
java.lang.String name,
java.lang.Object o)
id - the id of the objectpath - the path of the objectname - the name of the objecto - the object
void removed(java.lang.String id,
java.lang.String path,
java.lang.String name,
java.lang.Object o)
id - the id of the objectpath - the path of the objectname - the name of the objecto - the object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||