|
2008-02-07 1.1.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.soda.dk.notification.event.admin.EventAdminHandler
public class EventAdminHandler
| Field Summary | |
|---|---|
protected NotificationListener |
notificationListener
Define the notification listener (NotificationListener) field. |
protected static long |
NotifyThreshold
Define the notify threshold (long) field. |
protected org.osgi.framework.ServiceRegistration |
serviceRegistration
Define the service registration (ServiceRegistration) field. |
protected java.lang.String[] |
topics
Define the topics (String[]) field. |
| Constructor Summary | |
|---|---|
EventAdminHandler(NotificationListener notificationListener,
java.lang.String[] topics)
|
|
| Method Summary | |
|---|---|
void |
addTopics(java.lang.String[] externalKeys)
|
org.osgi.framework.ServiceRegistration |
getServiceRegistration()
Gets the service registration value. |
java.lang.String[] |
getTopics()
Gets the topics (String[]) value. |
void |
handleEvent(org.osgi.service.event.Event event)
|
void |
notify(org.osgi.service.event.Event event,
java.util.Dictionary data)
Notify with the specified event and data parameters. |
void |
setServiceRegistration(org.osgi.framework.ServiceRegistration serviceRegistration)
Sets the service registration value. |
void |
setTopics(java.lang.String[] topics)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static long NotifyThreshold
protected NotificationListener notificationListener
protected java.lang.String[] topics
protected org.osgi.framework.ServiceRegistration serviceRegistration
| Constructor Detail |
|---|
public EventAdminHandler(NotificationListener notificationListener,
java.lang.String[] topics)
notificationListener - The notification listener (NotificationListener) parameter.topics - The topics (String[]) parameter.| Method Detail |
|---|
public void addTopics(java.lang.String[] externalKeys)
externalKeys - The external keys (String[]) parameter.getTopics(),
setTopics(String[])public org.osgi.framework.ServiceRegistration getServiceRegistration()
ServiceRegistration)
value.setServiceRegistration(ServiceRegistration)public java.lang.String[] getTopics()
String[]) value.addTopics(String[]),
setTopics(String[])public void handleEvent(org.osgi.service.event.Event event)
handleEvent in interface org.osgi.service.event.EventHandlerevent - The event (Event) parameter.
public void notify(org.osgi.service.event.Event event,
java.util.Dictionary data)
event - The event (Event) parameter.data - The data (Dictionary) parameter.public void setServiceRegistration(org.osgi.framework.ServiceRegistration serviceRegistration)
ServiceRegistration)
parameter.
The service registration (ServiceRegistration)
parameter.
serviceRegistration - The service registration (ServiceRegistration) parameter.getServiceRegistration()public void setTopics(java.lang.String[] topics)
topics - The topics (String[]) parameter.addTopics(String[]),
getTopics()
|
2008-02-07 1.1.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||