|
1.0.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.NotificationEventAdmin
public class NotificationEventAdmin
| Field Summary | |
|---|---|
protected org.osgi.framework.BundleContext |
bundleContext
Define the bundle context (BundleContext) field. |
protected org.osgi.service.event.EventAdmin |
eventAdmin
Define the event admin (EventAdmin) field. |
protected java.util.Hashtable |
notificationListeners
Define the notification listener (NotificationListener) field. |
| Fields inherited from interface org.eclipse.soda.dk.notification.service.NotificationService |
|---|
ERROR_EXTERNAL_KEY, EXCEPTION_DATA_KEY, EXECUTE_EXTERNAL_KEY, FACTORY_SERVICE_NAME, GET_EXTERNAL_KEY, MESSAGE_DATA_KEY, READ_EXTERNAL_KEY, SERVICE_NAME, SET_EXTERNAL_KEY, TIMESTAMP_DATA_KEY, TOPIC_DELIMITER, TOPIC_DELIMITER_STRING, TOPIC_WILDCARD, TOPIC_WILDCARD_STRING, TRIGGER_EXTERNAL_KEY, VALUE_DATA_KEY, VALUE_OLD_DATA_KEY, WRITE_EXTERNAL_KEY |
| Constructor Summary | |
|---|---|
NotificationEventAdmin()
Constructs an instance of this class. |
|
| Method Summary | |
|---|---|
void |
addData(java.util.Dictionary data)
Add data with the specified data parameter. |
void |
broadcast(java.lang.String externalKey,
java.util.Dictionary data)
Broadcast with the specified external key and data parameters. |
org.osgi.framework.BundleContext |
getBundleContext()
Gets the bundle context value. |
org.osgi.service.event.EventAdmin |
getEventAdmin()
Gets the event admin value. |
void |
register(java.lang.String[] externalKeys,
NotificationListener listener)
Register with the specified external keys and listener parameters. |
void |
register(java.lang.String externalKey,
NotificationListener listener)
Register with the specified external key and listener parameters. |
void |
setBundleContext(org.osgi.framework.BundleContext bundleContext)
Sets the bundle context value. |
void |
setEventAdmin(org.osgi.service.event.EventAdmin eventAdmin)
Sets the event admin value. |
void |
unregister(NotificationListener listener)
Unregister with the specified listener parameter. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected org.osgi.service.event.EventAdmin eventAdmin
protected org.osgi.framework.BundleContext bundleContext
protected java.util.Hashtable notificationListeners
| Constructor Detail |
|---|
public NotificationEventAdmin()
| Method Detail |
|---|
public void addData(java.util.Dictionary data)
Dictionary) parameter.
data - The data (Dictionary) parameter.
public void broadcast(java.lang.String externalKey,
java.util.Dictionary data)
String) parameter. The data (Object)
parameter.
broadcast in interface NotificationServiceexternalKey - The external key (String) parameter.data - The data (Dictionary) parameter.public org.osgi.framework.BundleContext getBundleContext()
BundleContext) value.setBundleContext(BundleContext)public org.osgi.service.event.EventAdmin getEventAdmin()
EventAdmin) value.NotificationEventAdmin(),
setEventAdmin(EventAdmin)
public void register(java.lang.String externalKey,
NotificationListener listener)
String) parameter. The listener (NotificationListener)
parameter.
register in interface NotificationServiceexternalKey - The external key (String) parameter.listener - The listener (NotificationListener) parameter.register(String[],NotificationListener)
public void register(java.lang.String[] externalKeys,
NotificationListener listener)
String[]) parameter. The listener (NotificationListener)
parameter.
register in interface NotificationServiceexternalKeys - The external keys (String[]) parameter.listener - The listener (NotificationListener) parameter.register(String,NotificationListener)public void setBundleContext(org.osgi.framework.BundleContext bundleContext)
BundleContext) parameter.
bundleContext - The bundle context (BundleContext) parameter.getBundleContext()public void setEventAdmin(org.osgi.service.event.EventAdmin eventAdmin)
EventAdmin)
parameter.
eventAdmin - The event admin (EventAdmin) parameter.NotificationEventAdmin(),
getEventAdmin()public void unregister(NotificationListener listener)
NotificationListener)
parameter.
unregister in interface NotificationServicelistener - The listener (NotificationListener) parameter.
|
1.0.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||