Community
Participate
Working Groups
DStoreConnectorSErvice#internalConnect() is currently the only connector service that sends CommunicationsEvent.BEFORE_CONNECT. All connector services should do so. Sending the event might be a good idea in the AbstractConnectorService base class. The event may be important for clients to register such that they can tweak the operation of the connector service just before it connects, e.g. supply a password out of a hidden database.
Martin, SshConnectorService#internalConnect() also sends CommunicationsEvent.BEFORE_CONNECT, it doesn't make any sense for Local, so the only service that doesn't have fireCommunicationsEvent(CommunicationsEvent.BEFORE_CONNECT); in it is TelnetConnectorService.
Bulk update of target milestone
Ok, good point. Anna can you care for telnet in 3.1.1 ? I still think we should consider the API aspect. It's too easy for RSE extensions to get this wrong, the framework (AbstractConnectorService) should care for it. And we should also check TCF and file a bug for TCF in case it doesn't send the event.
Done for telnet. Checked TCF--it looks like neither BEFORE_CONNECT nor BEFORE_DISCONNECT events are sent. I'll open a separate bug for it.
Bug 285373 is created to track TCF issue.