Oracle Data-aware Controls Reference

oracle.dacf.dataset.connections
Class LocalConnection

java.lang.Object
  extended byoracle.dacf.dataset.connections.Connection
      extended byoracle.dacf.dataset.connections.LocalConnection
All Implemented Interfaces:
ConnectionInfo

public class LocalConnection
extends Connection
implements ConnectionInfo


Field Summary
 
Fields inherited from class oracle.dacf.dataset.connections.Connection
_appModuleName, _appModulePackage
 
Constructor Summary
LocalConnection()
           
LocalConnection(java.lang.String jdbcConnection)
          Constructor
LocalConnection(java.lang.String jdbcConnection, java.applet.Applet applet)
          Constructor
 
Method Summary
 int getConnectionModeConstant()
          This method returns the middeltier connection mode property.
 java.lang.String getDeploymentPlatform()
          This method returns the middeltier deployment platform property.
 NamedConnection getJdbcConnection()
          returns the connection name
 java.lang.String getJdbcConnectionName()
          gets the Connection name (do not confuse with JDevlopers Connection name)
 NamedConnection getLoginConnection()
          This method returns the Connection, that defines the authorization.
 void setJdbcConnection(NamedConnection jdbcConnection)
          sets the connection name
 void setJdbcConnectionName(java.lang.String conn)
          sets the Connection name (do not confuse with JDevlopers Connection name)
 
Methods inherited from class oracle.dacf.dataset.connections.Connection
_createAppModule, _getConnectionURL, _setConnectionSpecificEnvs, connect, getAppletInstance, getEnvironment, setAppletInstance, setCustomConnect, setCustomConnection
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface oracle.dacf.dataset.connections.ConnectionInfo
connect, getAppletInstance, getEnvironment, setAppletInstance, setCustomConnect, setCustomConnection
 

Constructor Detail

LocalConnection

public LocalConnection()

LocalConnection

public LocalConnection(java.lang.String jdbcConnection,
                       java.applet.Applet applet)
Constructor

Parameters:
jdbcConnection - the jdbc connection
applet - the applet instance

LocalConnection

public LocalConnection(java.lang.String jdbcConnection)
Constructor

Parameters:
jdbcConnection - the jdbc connection
Method Detail

setJdbcConnectionName

public void setJdbcConnectionName(java.lang.String conn)
sets the Connection name (do not confuse with JDevlopers 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


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
Specified by:
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
Specified by:
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
Specified by:
getConnectionModeConstant in class Connection
Returns:
ConnectionModeConstants.LOCAL;

Oracle Data-aware Controls Reference

 

Copyright © 1997, 2003, Oracle. All rights reserved.