com.centrasite.control.ext
Class CentraSiteConnectionHandler

java.lang.Object
  extended by com.softwareag.cis.plugin.extpt.util.AbstractExtensionImplementation
      extended by com.centrasite.control.ext.CentraSiteConnectionHandler
All Implemented Interfaces:
com.softwareag.cis.plugin.extpt.ConnectionHandler, com.softwareag.cis.plugin.registry.ExtensionImplementation

public class CentraSiteConnectionHandler
extends com.softwareag.cis.plugin.extpt.util.AbstractExtensionImplementation
implements com.softwareag.cis.plugin.extpt.ConnectionHandler


Field Summary
static java.lang.String rcs_id
           
 
Constructor Summary
CentraSiteConnectionHandler()
           
 
Method Summary
 void connect(com.softwareag.cst.util.security.Credentials c, com.softwareag.cis.plugin.adapter.util.CommonAdapter ca)
           
 void disconnect(com.softwareag.cis.plugin.adapter.util.CommonAdapter ba)
           
static com.centrasite.control.Connector getConnector(com.softwareag.cis.server.Adapter adapter)
          Obtain Connector for session where given adapter has been created in
 void init(com.softwareag.cis.plugin.adapter.util.CommonAdapter ca)
          Initialize ConnectionHandler at very startup
 boolean isConnected()
           
 void notifyConnected(com.softwareag.cis.plugin.adapter.util.CommonAdapter ca)
           
 void prepareDisconnect(com.softwareag.cis.plugin.adapter.util.CommonAdapter ba)
           
 
Methods inherited from class com.softwareag.cis.plugin.extpt.util.AbstractExtensionImplementation
getExtension, getPlugIn, popContextClassLoader, pushContextClassLoader, setExtension
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.softwareag.cis.plugin.registry.ExtensionImplementation
getExtension, getPlugIn, popContextClassLoader, pushContextClassLoader, setExtension
 

Field Detail

rcs_id

public static final java.lang.String rcs_id
See Also:
Constant Field Values
Constructor Detail

CentraSiteConnectionHandler

public CentraSiteConnectionHandler()
Method Detail

init

public void init(com.softwareag.cis.plugin.adapter.util.CommonAdapter ca)
Initialize ConnectionHandler at very startup

Specified by:
init in interface com.softwareag.cis.plugin.extpt.ConnectionHandler
Parameters:
ca - the adapter being active

connect

public void connect(com.softwareag.cst.util.security.Credentials c,
                    com.softwareag.cis.plugin.adapter.util.CommonAdapter ca)
             throws java.lang.Exception
Specified by:
connect in interface com.softwareag.cis.plugin.extpt.ConnectionHandler
Throws:
java.lang.Exception

notifyConnected

public void notifyConnected(com.softwareag.cis.plugin.adapter.util.CommonAdapter ca)
Specified by:
notifyConnected in interface com.softwareag.cis.plugin.extpt.ConnectionHandler

isConnected

public boolean isConnected()
Specified by:
isConnected in interface com.softwareag.cis.plugin.extpt.ConnectionHandler

prepareDisconnect

public void prepareDisconnect(com.softwareag.cis.plugin.adapter.util.CommonAdapter ba)
                       throws java.lang.Exception
Specified by:
prepareDisconnect in interface com.softwareag.cis.plugin.extpt.ConnectionHandler
Throws:
java.lang.Exception

disconnect

public void disconnect(com.softwareag.cis.plugin.adapter.util.CommonAdapter ba)
Specified by:
disconnect in interface com.softwareag.cis.plugin.extpt.ConnectionHandler

getConnector

public static com.centrasite.control.Connector getConnector(com.softwareag.cis.server.Adapter adapter)
Obtain Connector for session where given adapter has been created in

Parameters:
adapter -
Returns:
the Connector