|
Rational Developer for i 7.5.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectAuthenticatingConnectorService
com.ibm.etools.iseries.connectorservice.ToolboxConnectorService
public class ToolboxConnectorService
Connector service for i5/OS connections. This connector service uses the Toolbox for Java.
| Field Summary | |
|---|---|
static String |
copyright
|
| Constructor Summary | |
|---|---|
protected |
ToolboxConnectorService(IHost host)
Constructor. |
| Method Summary | |
|---|---|
void |
disconnectJDBC()
Close all open jdbc connections. |
AS400 |
getAS400()
|
AS400 |
getAS400(boolean connect)
|
com.ibm.etools.iseries.internal.connectorservice.ICODEServerManager |
getCODEServerManager(com.ibm.etools.iseries.internal.connectorservice.ICODEServerManagerFactory factory)
Return the CODE Server manager instance that corresponds to this connection |
String |
getEncodedPassword()
Get the password for this connection. |
String |
getHomeDirectory()
|
Connection |
getJDBCConnection(String properties,
boolean forceConnect)
Get a JDBC Connection object to DB2/400, pre-connected, for this connection. |
String |
getTempDirectory()
|
String |
getVersionReleaseModification()
|
void |
handleNetworkError(Exception e)
Checks if the exception resulted in the network connection being dropped. |
protected void |
internalConnect(IProgressMonitor monitor)
|
protected void |
internalDisconnect(IProgressMonitor monitor)
|
boolean |
isConnected()
|
boolean |
requiresPassword()
|
boolean |
requiresUserId()
|
boolean |
supportsPassword()
|
boolean |
supportsUserId()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String copyright
| Constructor Detail |
|---|
protected ToolboxConnectorService(IHost host)
ToolboxConnectorServiceManager
| Method Detail |
|---|
protected void internalConnect(IProgressMonitor monitor)
throws Exception
Exception
protected void internalDisconnect(IProgressMonitor monitor)
throws InterruptedException
InterruptedExceptionpublic boolean isConnected()
public String getEncodedPassword()
public AS400 getAS400()
public AS400 getAS400(boolean connect)
public boolean requiresPassword()
public boolean requiresUserId()
public boolean supportsPassword()
public boolean supportsUserId()
public void handleNetworkError(Exception e)
throws SystemMessageException
SystemMessageExceptionpublic com.ibm.etools.iseries.internal.connectorservice.ICODEServerManager getCODEServerManager(com.ibm.etools.iseries.internal.connectorservice.ICODEServerManagerFactory factory)
public String getTempDirectory()
public String getHomeDirectory()
public String getVersionReleaseModification()
public Connection getJDBCConnection(String properties,
boolean forceConnect)
throws SQLException
Important notes:
properties - A list of properties to append to the url, as per the
JDBC/400 getConnection(...) support. This string is appended to the
string "jdbc:as400://" + getHostName(), and so must start with a semicolon.
If null is passed, the following is used: ";prompt=false;big decimal=false"forceConnect - whether to prompt user to signon if not already.
SQLExceptionpublic void disconnectJDBC()
|
Rational Developer for i 7.5.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||