Oracle Data-aware Controls Reference

oracle.dacf.dataset.connections
Interface ConnectionInfo

All Known Implementing Classes:
Connection, CorbaConnection, EjbConnection, LocalConnection, VBBindingConnection, VBColocateConnection, VBNamingConnection, WebLogicConnection

public interface ConnectionInfo


Method Summary
 oracle.jbo.ApplicationModule connect(AppModuleInfo appmoduleInfo)
          this method provides the Middeltier with all the connection Information.
 java.applet.Applet getAppletInstance()
          get Applet context
 int getConnectionModeConstant()
          this method returns the middeltier property for this particular connection mode.
 java.lang.String getDeploymentPlatform()
          this method returns the middeltier property for this particular deployment platform.
 java.util.Hashtable getEnvironment()
          Returns the environment hashtable used when creating the Application Module.
 NamedConnection getLoginConnection()
          this method returns the Connection, that defines the authorization.
 void setAppletInstance(java.applet.Applet appletInstance)
          set the Applet context.
 void setCustomConnect(CustomConnect customConnect, SessionInfo sessionInfo)
          Deprecated. use setCustomConnection instead.
 void setCustomConnection(CustomConnection customConnect)
          Defines the customConnection definition
 

Method Detail

setAppletInstance

public void setAppletInstance(java.applet.Applet appletInstance)
set the Applet context. This property has to be so that the ORB can be intialized as an Applet. If null, the ORB will be intitalized as an Application

Parameters:
appletInstance - applet

getAppletInstance

public java.applet.Applet getAppletInstance()
get Applet context

Returns:
applet instance

getLoginConnection

public NamedConnection getLoginConnection()
this method returns the Connection, that defines the authorization. There will be no setMethod for this method. The set methods will be setJdbcConnection/setIIOPConnection (depending on Connection class)

Returns:
the Connection defining the authorization for logging in

getDeploymentPlatform

public java.lang.String getDeploymentPlatform()
this method returns the middeltier property for this particular deployment platform. The method is implemented by each class. There will be no setMethod for this property.

Returns:
the middeltier property for DeploymentPlatform

getConnectionModeConstant

public int getConnectionModeConstant()
this method returns the middeltier property for this particular connection mode. The method is implemented by each class. There will be no setMethod for this property.

Returns:
the middeltier property for ConnectionMode
See Also:
ConnectionModeConstants

connect

public oracle.jbo.ApplicationModule connect(AppModuleInfo appmoduleInfo)
this method provides the Middeltier with all the connection Information. It creates an Application Module. The ApplicationModule then establishes a connection.

Returns:
the instantiated ApplicationModule

getEnvironment

public java.util.Hashtable getEnvironment()
Returns the environment hashtable used when creating the Application Module.

Returns:
the environment hashtable.

setCustomConnect

public void setCustomConnect(CustomConnect customConnect,
                             SessionInfo sessionInfo)
Deprecated. use setCustomConnection instead.

Defines the old customConnect definition


setCustomConnection

public void setCustomConnection(CustomConnection customConnect)
Defines the customConnection definition


Oracle Data-aware Controls Reference

 

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