Oracle Data-aware Controls Reference

oracle.dacf.dataset.connections
Class WebLogicConnection

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

public class WebLogicConnection
extends Connection
implements ConnectionInfo


Field Summary
 
Fields inherited from class oracle.dacf.dataset.connections.Connection
_appModuleName, _appModulePackage
 
Constructor Summary
WebLogicConnection()
           
WebLogicConnection(java.lang.String jdbcconnection, java.lang.String jndipath, java.lang.String hostname, java.lang.String port)
          Constructor
WebLogicConnection(java.lang.String jdbcconnection, java.lang.String jndipath, java.lang.String hostname, java.lang.String port, java.applet.Applet applet)
          Constructor
 
Method Summary
protected  void _setConnectionSpecificEnvs()
          Allows every implementation to add its own properties to JboContext
 int getConnectionModeConstant()
          This method returns the middeltier connection mode property.
 java.lang.String getDeploymentPlatform()
          This method returns the middeltier deployment platform property.
 java.lang.String getHostName()
           
 NamedConnection getJDBCConnection()
          returns the connection name
 java.lang.String getJDBCConnectionName()
          gets the jdbc connection name
 java.lang.String getJNDIpath()
          returns the jndipath
 NamedConnection getLoginConnection()
          This method returns the Connection, that defines the authorization.
 java.lang.String getPort()
           
 void setHostName(java.lang.String hostname)
           
 void setJDBCConnection(NamedConnection jdbcConnection)
          sets the connection name
 void setJDBCConnectionName(java.lang.String jdbcConnection)
          sets the jdbc connection
 void setJNDIpath(java.lang.String jndipath)
          sets the jndipath
 void setPort(java.lang.String port)
           
 
Methods inherited from class oracle.dacf.dataset.connections.Connection
_createAppModule, _getConnectionURL, 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

WebLogicConnection

public WebLogicConnection()

WebLogicConnection

public WebLogicConnection(java.lang.String jdbcconnection,
                          java.lang.String jndipath,
                          java.lang.String hostname,
                          java.lang.String port,
                          java.applet.Applet applet)
Constructor

Parameters:
jndipath - the JNDI path
hostname - tbe HOST name
port - tbe Port number
applet - the applet instance

WebLogicConnection

public WebLogicConnection(java.lang.String jdbcconnection,
                          java.lang.String jndipath,
                          java.lang.String hostname,
                          java.lang.String port)
Constructor

Parameters:
jndipath - the JNDI path
hostname - tbe HOST name
port - tbe Port number
Method Detail

setJNDIpath

public void setJNDIpath(java.lang.String jndipath)
sets the jndipath

Parameters:
jndipath - the JNDI path

getJNDIpath

public java.lang.String getJNDIpath()
returns the jndipath

Returns:
the JNDI path

setHostName

public void setHostName(java.lang.String hostname)

getHostName

public java.lang.String getHostName()

setPort

public void setPort(java.lang.String port)

getPort

public java.lang.String getPort()

setJDBCConnectionName

public void setJDBCConnectionName(java.lang.String jdbcConnection)
sets the jdbc connection

Parameters:
jdbcConnection - the jdbc connection

getJDBCConnectionName

public java.lang.String getJDBCConnectionName()
gets the jdbc 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

getConnectionModeConstant

public int getConnectionModeConstant()
This method returns the middeltier connection mode property.

NOTE : This property is ignored for Oracle8I connections

Specified by:
getConnectionModeConstant in interface ConnectionInfo
Specified by:
getConnectionModeConstant in class Connection
Returns:
ConnectionModeConstants.REMOTE;

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_EJBi_WLS

_setConnectionSpecificEnvs

protected void _setConnectionSpecificEnvs()
Description copied from class: Connection
Allows every implementation to add its own properties to JboContext

Overrides:
_setConnectionSpecificEnvs in class Connection

Oracle Data-aware Controls Reference

 

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