oracle.dacf.dataset.connections
Class LocalConnection
java.lang.Object
|
+--oracle.dacf.dataset.connections.Connection
|
+--oracle.dacf.dataset.connections.LocalConnection
- All Implemented Interfaces:
- ConnectionInfo
- public class LocalConnection
- extends Connection
- implements ConnectionInfo
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LocalConnection
public LocalConnection()
LocalConnection
public LocalConnection(java.lang.String jdbcConnection,
java.applet.Applet applet)
- Constructor
- Parameters:
jdbcConnection
- the jdbc connectionapplet
- the applet instance
LocalConnection
public LocalConnection(java.lang.String jdbcConnection)
- Constructor
- Parameters:
jdbcConnection
- the jdbc connection
setJdbcConnectionName
public void setJdbcConnectionName(java.lang.String conn)
- sets the Connection name (do not confuse with JDevlopers Connection name)
- Parameters:
the
- jdbc connection name
getJdbcConnectionName
public java.lang.String getJdbcConnectionName()
- gets the Connection name (do not confuse with JDevlopers Connection name)
- Returns:
- the jdbc connection name
setJdbcConnection
public void setJdbcConnection(NamedConnection jdbcConnection)
- sets the connection name
- Parameters:
the
- jdbc connection
getJdbcConnection
public NamedConnection getJdbcConnection()
- returns the connection name
- Returns:
- the jdbc connection
getLoginConnection
public NamedConnection getLoginConnection()
- This method returns the Connection, that defines the authorization.
- Specified by:
getLoginConnection
in interface ConnectionInfo
- Overrides:
getLoginConnection
in class Connection
- Returns:
- the Connection defining the authorization for logging in
- See Also:
Connection
getDeploymentPlatform
public java.lang.String getDeploymentPlatform()
- This method returns the middeltier deployment platform property.
- Specified by:
getDeploymentPlatform
in interface ConnectionInfo
- Overrides:
getDeploymentPlatform
in class Connection
- Returns:
- JboContext.PLATFORM_LOCAL
getConnectionModeConstant
public int getConnectionModeConstant()
- This method returns the middeltier connection mode property.
- Specified by:
getConnectionModeConstant
in interface ConnectionInfo
- Overrides:
getConnectionModeConstant
in class Connection
- Returns:
- ConnectionModeConstants.LOCAL;