|
2008-07-29 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.core.EscObject
org.eclipse.soda.dk.core.ConfigurableObject
org.eclipse.soda.dk.notification.NotificationResourceBase
org.eclipse.soda.dk.notification.NotificationBase
org.eclipse.soda.dk.notification.event.admin.NotificationEventAdmin
public class NotificationEventAdmin
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.eclipse.soda.dk.notification.NotificationResourceBase |
|---|
org.eclipse.soda.dk.notification.NotificationResourceBase.ConfigurationInformationProxy |
| Field Summary | |
|---|---|
protected org.osgi.framework.BundleContext |
bundleContext
Define the bundle context (BundleContext) field. |
protected org.osgi.service.event.EventAdmin |
eventAdmin
Define the event administration (EventAdmin) field. |
protected java.util.Map |
notificationListeners
Define the notification listener (NotificationListener) field. |
| Fields inherited from class org.eclipse.soda.dk.notification.NotificationBase |
|---|
broadcastCount, broadcastThreshold, broadcastThresholdCount, BroadcastThresholdDefault, level, levelMaximum, levelMinimum, notificationExtension, NotificationHost, NotificationId, notificationMonitor, notifyCount, notifyThreshold, notifyThresholdCount, NotifyThresholdDefault, prefixStatus |
| Fields inherited from class org.eclipse.soda.dk.notification.NotificationResourceBase |
|---|
DefaultResourceBundle, NOTIFICATION_BROADCAST_EXCEEDED_RESOURCE, NOTIFICATION_BROADCAST_THRESHOLD_DEFAULT, NOTIFICATION_BROADCAST_THRESHOLD_KEY, NOTIFICATION_NOTIFY_EXCEEDED_RESOURCE, NOTIFICATION_NOTIFY_THRESHOLD_DEFAULT, NOTIFICATION_NOTIFY_THRESHOLD_KEY, NOTIFICATION_START_RESOURCE, NOTIFICATION_STOP_RESOURCE |
| Fields inherited from class org.eclipse.soda.dk.core.ConfigurableObject |
|---|
BUNDLE_VERSION_PROPERTY |
| Fields inherited from interface org.eclipse.soda.dk.notification.service.NotificationExtendableService |
|---|
SERVICE_NAME |
| Constructor Summary | |
|---|---|
NotificationEventAdmin()
Constructs an instance of this class. |
|
| Method Summary | |
|---|---|
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 administration value. |
NotificationExtensionService |
getNotificationExtension()
Gets the notification extension (NotificationExtensionService) value. |
void |
register(java.lang.String[] externalKeys,
NotificationListener listener)
Register with the specified externalKeys and listener parameters. |
void |
register(java.lang.String externalKey,
NotificationListener listener)
Register with the specified externalKey and listener parameters. |
void |
setBundleContext(org.osgi.framework.BundleContext bundleContext)
|
void |
setEventAdmin(org.osgi.service.event.EventAdmin eventAdmin)
|
void |
setNotificationExtension(NotificationExtensionService notificationExtension)
Sets the notification extension value. |
void |
unregister(NotificationListener listener)
Unregister with the specified listener parameter. |
| Methods inherited from class org.eclipse.soda.dk.notification.NotificationBase |
|---|
addNotificationExtension, addNotificationMonitor, broadcastStatus, exit, getBroadcastThreshold, getBroadcastThresholdDefault, getConfigurationInformation, getHost, getLevel, getLevelMaximum, getLevelMinimum, getNotificationMonitor, getNotifyThreshold, getNotifyThresholdDefault, getResource, getStatusInfo, putConfigurationInformation, removeNotificationExtension, removeNotificationMonitor, setBroadcastThreshold, setBroadcastThresholdDefault, setConfigurationInformation, setLevel, setLevelMaximum, setLevelMinimum, setNotificationMonitor, setNotifyThreshold, setNotifyThresholdDefault, setup, start, updateConfiguration, updateConfiguration |
| Methods inherited from class org.eclipse.soda.dk.notification.NotificationResourceBase |
|---|
getErrorSeverity, getLogDetails2 |
| Methods inherited from class org.eclipse.soda.dk.core.ConfigurableObject |
|---|
createPropertiesFromHeaders, getConfigurationService, setConfigurationService, validateConfiguration |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.eclipse.soda.dk.notification.service.NotificationExtendableService |
|---|
addNotificationExtension, addNotificationMonitor, getNotificationMonitor, removeNotificationExtension, removeNotificationMonitor, setNotificationMonitor |
| Field Detail |
|---|
protected org.osgi.service.event.EventAdmin eventAdmin
protected org.osgi.framework.BundleContext bundleContext
protected java.util.Map notificationListeners
| Constructor Detail |
|---|
public NotificationEventAdmin()
| Method Detail |
|---|
public void broadcast(java.lang.String externalKey,
java.util.Dictionary data)
broadcast in interface NotificationServicebroadcast in class org.eclipse.soda.dk.notification.NotificationBaseexternalKey - 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 NotificationExtensionService getNotificationExtension()
getNotificationExtension in interface NotificationExtendableServicegetNotificationExtension in class org.eclipse.soda.dk.notification.NotificationBaseNotificationExtensionService) value.setNotificationExtension(NotificationExtensionService)
public void register(java.lang.String externalKey,
NotificationListener listener)
NotificationServiceString) 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)
NotificationServiceString[]) 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 administration (EventAdmin) parameter.NotificationEventAdmin(),
getEventAdmin()public void setNotificationExtension(NotificationExtensionService notificationExtension)
setNotificationExtension in interface NotificationExtendableServicesetNotificationExtension in class org.eclipse.soda.dk.notification.NotificationBasenotificationExtension - The notification extension (NotificationExtensionService) parameter.getNotificationExtension()public void unregister(NotificationListener listener)
NotificationServiceNotificationListener) parameter.
unregister in interface NotificationServicelistener - The listener (NotificationListener) parameter.
|
2008-07-29 1.1.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||