|
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.EventAdminHandler
public class EventAdminHandler
| 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 NotificationListener |
notificationListener
Define the notification listener (NotificationListener) field. |
protected org.osgi.framework.ServiceRegistration |
serviceRegistration
Define the service registration (ServiceRegistration) field. |
protected java.lang.String[] |
topics
Define the topics (String[]) 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 |
| Constructor Summary | |
|---|---|
EventAdminHandler(NotificationListener notificationListener,
java.lang.String[] topics)
|
|
EventAdminHandler(NotificationListener notificationListener,
java.lang.String[] topics,
NotificationExtensionService notificationExtension)
Constructs an instance of this class from the specified notification listener, topics and notification extension parameters. |
|
| 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)
|
void |
setTopics(java.lang.String[] topics)
|
| Methods inherited from class org.eclipse.soda.dk.notification.NotificationBase |
|---|
addNotificationExtension, addNotificationMonitor, broadcast, broadcastStatus, exit, getBroadcastThreshold, getBroadcastThresholdDefault, getConfigurationInformation, getHost, getLevel, getLevelMaximum, getLevelMinimum, getNotificationExtension, getNotificationMonitor, getNotifyThreshold, getNotifyThresholdDefault, getResource, getStatusInfo, putConfigurationInformation, removeNotificationExtension, removeNotificationMonitor, setBroadcastThreshold, setBroadcastThresholdDefault, setConfigurationInformation, setLevel, setLevelMaximum, setLevelMinimum, setNotificationExtension, 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 |
| Field Detail |
|---|
protected NotificationListener notificationListener
protected org.osgi.framework.ServiceRegistration serviceRegistration
protected java.lang.String[] topics
| Constructor Detail |
|---|
public EventAdminHandler(NotificationListener notificationListener,
java.lang.String[] topics)
notificationListener - The notification listener (NotificationListener) parameter.topics - The topics (String[]) parameter.EventAdminHandler(NotificationListener,String[],NotificationExtensionService)
public EventAdminHandler(NotificationListener notificationListener,
java.lang.String[] topics,
NotificationExtensionService notificationExtension)
notificationListener - The notification listener (NotificationListener) parameter.topics - The topics (String[]) parameter.notificationExtension - The notification extension (NotificationExtensionService) parameter.EventAdminHandler(NotificationListener,String[])| 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 - The service registration (ServiceRegistration) parameter.getServiceRegistration()public void setTopics(java.lang.String[] topics)
topics - The topics (String[]) parameter.addTopics(String[]),
getTopics()
|
2008-07-29 1.1.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||