CentraSite Documentation : CentraSite Developer's Guide : Pluggable Architecture : Customizing Content Pages : Extension Points : ConnectionHandler - Logon and Logoff / Exit
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
*Logon:
*Obtain credentials from the login screen
*Call connect(Credentials) for each extension
*If an exception occurs:
*Show a popup with the exception
*Disconnect each extension which is already connected
*Restart
*If all successful: start the workplace
*Logoff:
*Call prepareDisconnect() for each extension
*If an exception occurs:
*Show a popup with the exception
*Done
*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>
Copyright © 2005-2015 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback