ConnectionHandler - Logon and Logoff / Exit
Usage | Use at the start or end of a session of CentraSite Control. |
Attributes | point="com.softwareag.cis.plugin.connectionHandler" id value |
Interface | ConnectionHandler void init (CommonAdapter ca) void connect (Credentials c, CommonAdapter ca) throws Exception void notifyConnected (CommonAdapter ca) boolean isConnected() void prepareDisconnect (CommonAdapter ca) throws Exception void disconnect (CommonAdapter ca); |
Processing | ![*](bullet.gif) Logon: ![*](bullet.gif) Obtain credentials from the login screen ![*](bullet.gif) Call connect(Credentials) for each extension ![*](bullet.gif) If an exception occurs: ![*](bullet.gif) Show a popup with the exception ![*](bullet.gif) Disconnect each extension which is already connected ![*](bullet.gif) Restart ![*](bullet.gif) If all successful: start the workplace ![*](bullet.gif) Logoff: ![*](bullet.gif) Call prepareDisconnect() for each extension ![*](bullet.gif) If an exception occurs: ![*](bullet.gif) Show a popup with the exception ![*](bullet.gif) Done ![*](bullet.gif) Disconnect each extension which is already connected by calling the disconnect() method |
Provided by | PluggableUI |
Example | <extension point="com.softwareag.cis.plugin.connectionHandler" id="login" class="com.centrasite.control.ext.CentraSiteConnectionHandler"> </extension> |