Interface ConnectorNamingEventNotifier
-
- All Known Implementing Classes:
ConnectorResourceNamingEventNotifier
public interface ConnectorNamingEventNotifierTo notify events related to Connector objects published using JNDI- Author:
- Jagadish Ramu
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddListener(ConnectorNamingEventListener listener)To add Listener which gets notified when the event happensvoidnotifyListeners(ConnectorNamingEvent event)Notifies all the registered listeners about naming event.voidremoveListener(ConnectorNamingEventListener listener)To remove listener such that it wont be notified anymore.
-
-
-
Method Detail
-
addListener
void addListener(ConnectorNamingEventListener listener)
To add Listener which gets notified when the event happens- Parameters:
listener-
-
removeListener
void removeListener(ConnectorNamingEventListener listener)
To remove listener such that it wont be notified anymore.- Parameters:
listener-
-
notifyListeners
void notifyListeners(ConnectorNamingEvent event)
Notifies all the registered listeners about naming event.- Parameters:
event-
-
-