Interface ConnectorEventPublisher
-
- All Known Implementing Classes:
OsgiConnectorInfoManagerImpl
,RemoteConnectorInfoManagerImpl
public interface ConnectorEventPublisher
The ConnectorEventPublisher is used by Connector Info Manager to publish events to the Framework.- Since:
- 1.4
- Author:
- Laszlo Hordos
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addConnectorEventHandler(ConnectorEventHandler handler)
Adds an observer to the set of observers for this object, provided that it is not the same as some observer already in the set.void
deleteConnectorEventHandler(ConnectorEventHandler handler)
Deletes an observer from the set of observers of this object.
-
-
-
Method Detail
-
addConnectorEventHandler
void addConnectorEventHandler(ConnectorEventHandler handler)
Adds an observer to the set of observers for this object, provided that it is not the same as some observer already in the set. The order in which notifications will be delivered to multiple observers is not specified. See the class comment.- Parameters:
handler
- an observer to be added.- Throws:
NullPointerException
- if the parameter o is null.
-
deleteConnectorEventHandler
void deleteConnectorEventHandler(ConnectorEventHandler handler)
Deletes an observer from the set of observers of this object. Passingnull
to this method will have no effect.- Parameters:
handler
- the observer to be deleted.
-
-