|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ConnectionHandler
Field Summary | |
---|---|
static java.lang.String |
rcs_id
|
Method Summary | |
---|---|
void |
connect(com.softwareag.cst.util.security.Credentials c,
CommonAdapter ca)
Establish connection as required by the specific plugin implementing that extension point |
void |
disconnect(CommonAdapter ca)
Close connection |
void |
init(CommonAdapter ca)
Initialize ConnectionHandler at very startup |
boolean |
isConnected()
Check whether the respective connection has been established |
void |
notifyConnected(CommonAdapter ca)
ConnectionHandler is notified after all connections have been established. |
void |
prepareDisconnect(CommonAdapter ca)
Check whether connection held by plugin may be closed |
Methods inherited from interface com.softwareag.cis.plugin.registry.ExtensionImplementation |
---|
getExtension, getPlugIn, popContextClassLoader, pushContextClassLoader, setExtension |
Field Detail |
---|
static final java.lang.String rcs_id
Method Detail |
---|
void init(CommonAdapter ca)
ca
- the adapter being activevoid connect(com.softwareag.cst.util.security.Credentials c, CommonAdapter ca) throws java.lang.Exception
c
- the credentials obtained from the login dialogca
- the adapter being active while the connection is being established
java.lang.Exception
- if an error occured when attempting to establish the connectionvoid notifyConnected(CommonAdapter ca)
ca
- the adapter being active while the connection is being establishedboolean isConnected()
void prepareDisconnect(CommonAdapter ca) throws java.lang.Exception
ca
- the adapter being active while attempting to close connection
java.lang.Exception
- if connection may not be closedvoid disconnect(CommonAdapter ca)
ca
- the adapter being active while attempting to close connection
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |