|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface EventQueryService
Event Query service provides service to retrieve persisted OSGi events.
| Method Summary | |
|---|---|
java.util.List<org.osgi.service.event.Event> |
getEvents(java.lang.String aTopicPrefix,
java.lang.String source,
java.util.Date from,
java.util.Date to)
Returns all persisted OSGi event given the specified arguments. |
java.util.Set<java.lang.String> |
getTopics()
Returns all persisted OSGi event topics. |
| Method Detail |
|---|
java.util.Set<java.lang.String> getTopics()
java.util.List<org.osgi.service.event.Event> getEvents(java.lang.String aTopicPrefix,
java.lang.String source,
java.util.Date from,
java.util.Date to)
aTopicPrefix - The topic to query. Sets to null to query all events happening between the specified time.source - A string identifying the OSGi container that generated the event. If null, then query ignores it.from - The starting query date. Sets to null to query all persisted events until the specified to.to - The end query date. Sets to null to query all persisted events until now.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||