|
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.EventAdminHandler
public class EventAdminHandler
| 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. |
| Constructor Summary | |
|---|---|
EventAdminHandler(NotificationListener notificationListener,
java.lang.String[] topics)
Constructs an instance of this class from the specified notification listener and topics parameters. |
|
| Method Summary | |
|---|---|
void |
addTopics(java.lang.String[] externalKeys)
Add topics with the specified external keys parameter. |
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)
Handle event with the specified event parameter. |
void |
setServiceRegistration(org.osgi.framework.ServiceRegistration serviceRegistration)
Sets the service registration value. |
void |
setTopics(java.lang.String[] topics)
Sets the topics value. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
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)
parameter.
The topics (String[]) parameter.
notificationListener - The notification listener (NotificationListener) parameter.topics - The topics (String[]) parameter.| Method Detail |
|---|
public void addTopics(java.lang.String[] externalKeys)
String[]) parameter.
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)
Event) parameter.
handleEvent in interface org.osgi.service.event.EventHandlerevent - The event (Event) parameter.public void setServiceRegistration(org.osgi.framework.ServiceRegistration serviceRegistration)
ServiceRegistration)
parameter.
serviceRegistration - The service registration (ServiceRegistration) parameter.getServiceRegistration()public void setTopics(java.lang.String[] topics)
String[]) parameter.
topics - The topics (String[]) parameter.addTopics(String[]),
getTopics()
|
1.0.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||