|
OSGi™ Service Platform Residential Specification Release 4 Version 4.3 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DmtEventListener
Registered implementations of this class are notified via DmtEvent
objects about important changes in the tree. Events are generated after every
successful DMT change, and also when sessions are opened or closed. If a
DmtSession
is opened in atomic mode, DMT events are only sent when
the session is committed, when the changes are actually performed.
Dmt Event Listener services must have permission DmtPermission.GET
for
the nodes in the nodes
and newNodes
property in the Dmt Event.
Field Summary | |
---|---|
static java.lang.String |
FILTER_EVENT
A number of event types packed in a bitmap. |
static java.lang.String |
FILTER_PRINCIPAL
A number of names of principals. |
static java.lang.String |
FILTER_SUBTREE
A number of sub-tree top nodes that define the scope of the Dmt Event Listener. |
Method Summary | |
---|---|
void |
changeOccurred(DmtEvent event)
DmtAdmin uses this method to notify the registered listeners
about the change. |
Field Detail |
---|
static final java.lang.String FILTER_SUBTREE
String+
.
static final java.lang.String FILTER_PRINCIPAL
Get
rights. The type of this service property is String+
.
static final java.lang.String FILTER_EVENT
Integer
.
Method Detail |
---|
void changeOccurred(DmtEvent event)
DmtAdmin
uses this method to notify the registered listeners
about the change. This method is called asynchronously from the actual
event occurrence.
event
- the DmtEvent
describing the change in detail
|
OSGi™ Service Platform Residential Specification Release 4 Version 4.3 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |