org.ops4j.pax.radman.service.event
Interface EventQueryService


public interface EventQueryService

Event Query service provides service to retrieve persisted OSGi events.

Since:
0.1.0
Author:
Edward Yakop

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

getTopics

java.util.Set<java.lang.String> getTopics()
Returns all persisted OSGi event topics.

Returns:
All persisted OSGi event topics.
Since:
0.1.0

getEvents

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.

Parameters:
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.
Returns:
All persisted OSGi events given the specified arguments.
Since:
0.1.0


Copyright © 2008. All Rights Reserved.