|
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.NotificationEventAdmin
public class NotificationEventAdmin
| Field Summary | |
|---|---|
protected static long |
BroadcastThreshold
Define the broadcast threshold (long) field. |
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. |
| Constructor Summary | |
|---|---|
NotificationEventAdmin()
Constructs an instance of this class. |
|
| Method Summary | |
|---|---|
void |
addData(java.util.Dictionary data)
|
void |
broadcast(java.lang.String externalKey,
java.util.Dictionary data)
|
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)
|
void |
setEventAdmin(org.osgi.service.event.EventAdmin eventAdmin)
|
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 static long BroadcastThreshold
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)
data - The data (Dictionary) parameter.
public void broadcast(java.lang.String externalKey,
java.util.Dictionary data)
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.
The external key (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.
The external keys (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 - The bundle context (BundleContext) parameter.getBundleContext()public void setEventAdmin(org.osgi.service.event.EventAdmin eventAdmin)
eventAdmin - The event admin (EventAdmin) parameter.NotificationEventAdmin(),
getEventAdmin()public void unregister(NotificationListener listener)
NotificationListener)
parameter.
The listener (NotificationListener)
parameter.
unregister in interface NotificationServicelistener - The listener (NotificationListener) parameter.
|
2008-02-07 1.1.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||