Skip navigation links

Oracle® Data Integrator Java API Reference
11g Release 1 (11.1.1.7.0)

E17060-04


oracle.odi.domain.topology
Class AbstractOdiDataServer.JndiSettings

java.lang.Object
  extended by oracle.odi.domain.topology.AbstractOdiDataServer.JndiSettings

All Implemented Interfaces:
AbstractOdiDataServer.IConnectionSettings
Enclosing class:
AbstractOdiDataServer

public static class AbstractOdiDataServer.JndiSettings
extends java.lang.Object
implements AbstractOdiDataServer.IConnectionSettings

Holds JNDI metadata required to get a JDBC connection from a DataSource configured in an external JNDI provider.

Since:
11.1.1.3.0

Constructor Summary
AbstractOdiDataServer.JndiSettings()
          Deprecated. full constructor should be used since this class is now considered as immutable
AbstractOdiDataServer.JndiSettings(java.lang.String pInitialContextFactory, java.lang.String pProviderUrl, java.lang.String pPrincipal, ObfuscatedString pCredentials, java.lang.String pAuthentication, java.lang.String pJndiResourceName)
          Create a new AbstractOdiDataServer.JndiSettings.
AbstractOdiDataServer.JndiSettings(java.lang.String pInitialContextFactory, java.lang.String pProviderUrl, java.lang.String pPrincipal, ObfuscatedString pCredentials, java.lang.String pAuthentication, java.lang.String pJndiResourceName, OdiOnConnectConfig pOnConnectConfig, OdiOnDisconnectConfig pOnDisconnectConfig)
          Create a new AbstractOdiDataServer.JndiSettings.
AbstractOdiDataServer.JndiSettings(java.lang.String pInitialContextFactory, java.lang.String pProviderUrl, java.lang.String pPrincipal, ObfuscatedString pCredentials, java.lang.String pAuthentication, java.lang.String pJndiResourceName, OdiOnConnectConfig pOnConnectConfig, OdiOnDisconnectConfig pOnDisconnectConfig, java.util.Map<java.lang.String,java.lang.String> pConnectionProperties)
          Create a new AbstractOdiDataServer.JndiSettings.
AbstractOdiDataServer.JndiSettings(java.lang.String pInitialContextFactory, java.lang.String pProviderUrl, java.lang.String pPrincipal, java.lang.String pCredentials, java.lang.String pAuthentication, java.lang.String pProtocole, java.lang.String pJndiResourceName)
          Deprecated. replaced by JndiSettings#JndiSettings(String, String, String, ObfuscatedString, String, String)

 

Method Summary
 java.lang.String getAuthentication()
          Deprecated. replaced by getSecurityAuthentication()
 java.util.Map<java.lang.String,java.lang.String> getConnectionProperties()
           
 java.lang.String getDataSourceJndiName()
          Obtains the DataSource JNDI name.
 java.lang.String getInitialContextFactory()
          Obtains the JNDI initial context factory.
 java.lang.String getJndiFactory()
          Deprecated. replaced by getJndiFactory()
 java.lang.String getJndiPassword()
          Deprecated. replaced by getSecurityCredentials()
 java.lang.String getJndiUrl()
          Deprecated. replaced by getProviderUrl()
 java.lang.String getJndiUsername()
          Deprecated. replaced by getSecurityPrincipal()
 OdiOnConnectConfig getOnConnectConfig()
          Obtains the onConnect configOdiOnConnectConfig of this jndi settings.
 OdiOnDisconnectConfig getOnDisconnectConfig()
          Obtains the onDisconnect configOdiOnDisconnectConfig of this jndi settings.
 java.lang.String getProtocole()
          Deprecated. without any replacement
 java.lang.String getProviderUrl()
          Obtains the JNDI provider URL.
 java.lang.String getResourceName()
          Deprecated. replaced by getJndiDataSourceName()
 java.lang.String getSecurityAuthentication()
          Obtains the JNDI security authentication.
 ObfuscatedString getSecurityCredentials()
          Obtains the security credentials.
 java.lang.String getSecurityPrincipal()
          Obtains the security principal.
 void setAuthentication(java.lang.String pAuthentication)
          Deprecated. since instance of this class should be considered immutable
 void setJndiFactory(java.lang.String pJndiFactory)
          Deprecated. since instance of this class should be considered immutable
 void setJndiPassword(java.lang.String pJndiPassword)
          Deprecated. since instance of this class should be considered immutable
 void setJndiUrl(java.lang.String pJndiUrl)
          Deprecated. since instance of this class should be considered immutable
 void setJndiUsername(java.lang.String pJndiUsername)
          Deprecated. since instance of this class should be considered immutable
 void setProtocole(java.lang.String pProtocole)
          Deprecated. since instance of this class should be considered immutable
 void setResourceName(java.lang.String pResourceName)
          Deprecated. since instance of this class should be considered immutable

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

AbstractOdiDataServer.JndiSettings

@Deprecated
public AbstractOdiDataServer.JndiSettings()
Deprecated. full constructor should be used since this class is now considered as immutable
Construct a new JndiSettings.

AbstractOdiDataServer.JndiSettings

@Deprecated
public AbstractOdiDataServer.JndiSettings(java.lang.String pInitialContextFactory,
                                                     java.lang.String pProviderUrl,
                                                     java.lang.String pPrincipal,
                                                     java.lang.String pCredentials,
                                                     java.lang.String pAuthentication,
                                                     java.lang.String pProtocole,
                                                     java.lang.String pJndiResourceName)
Deprecated. replaced by JndiSettings#JndiSettings(String, String, String, ObfuscatedString, String, String)

AbstractOdiDataServer.JndiSettings

public AbstractOdiDataServer.JndiSettings(java.lang.String pInitialContextFactory,
                                          java.lang.String pProviderUrl,
                                          java.lang.String pPrincipal,
                                          ObfuscatedString pCredentials,
                                          java.lang.String pAuthentication,
                                          java.lang.String pJndiResourceName)
Create a new AbstractOdiDataServer.JndiSettings.
Parameters:
pInitialContextFactory - JNDI initial context factory
pProviderUrl - JNDI provider url
pPrincipal - JNDI security principal
pCredentials - JNDI security credentials
pAuthentication - JNDI security authentication
pJndiResourceName - JNDI datasource name

AbstractOdiDataServer.JndiSettings

public AbstractOdiDataServer.JndiSettings(java.lang.String pInitialContextFactory,
                                          java.lang.String pProviderUrl,
                                          java.lang.String pPrincipal,
                                          ObfuscatedString pCredentials,
                                          java.lang.String pAuthentication,
                                          java.lang.String pJndiResourceName,
                                          OdiOnConnectConfig pOnConnectConfig,
                                          OdiOnDisconnectConfig pOnDisconnectConfig,
                                          java.util.Map<java.lang.String,java.lang.String> pConnectionProperties)
Create a new AbstractOdiDataServer.JndiSettings.
Parameters:
pInitialContextFactory - JNDI initial context factory
pProviderUrl - JNDI provider url
pPrincipal - JNDI security principal
pCredentials - JNDI security credentials
pAuthentication - JNDI security authentication
pJndiResourceName - JNDI datasource name
pOnConnectConfig - an OdiOnConnectConfig object
pOnDisconnectConfig - an OdiOnDisconnectConfig object
pConnectionProperties - connection properties. Can be null.

AbstractOdiDataServer.JndiSettings

public AbstractOdiDataServer.JndiSettings(java.lang.String pInitialContextFactory,
                                          java.lang.String pProviderUrl,
                                          java.lang.String pPrincipal,
                                          ObfuscatedString pCredentials,
                                          java.lang.String pAuthentication,
                                          java.lang.String pJndiResourceName,
                                          OdiOnConnectConfig pOnConnectConfig,
                                          OdiOnDisconnectConfig pOnDisconnectConfig)
Create a new AbstractOdiDataServer.JndiSettings.
Parameters:
pInitialContextFactory - JNDI initial context factory
pProviderUrl - JNDI provider url
pPrincipal - JNDI security principal
pCredentials - JNDI security credentials
pAuthentication - JNDI security authentication
pJndiResourceName - JNDI datasource name
pOnConnectConfig - an OdiOnConnectConfig object
pOnDisconnectConfig - an OdiOnDisconnectConfig object

Method Detail

getConnectionProperties

public java.util.Map<java.lang.String,java.lang.String> getConnectionProperties()

getOnConnectConfig

public OdiOnConnectConfig getOnConnectConfig()
Obtains the onConnect configOdiOnConnectConfig of this jndi settings.
Returns:
an OdiOnConnectConfig object, or null if undefined

getOnDisconnectConfig

public OdiOnDisconnectConfig getOnDisconnectConfig()
Obtains the onDisconnect configOdiOnDisconnectConfig of this jndi settings.
Returns:
an OdiOnDisconnectConfig object, or null if undefined

getInitialContextFactory

public java.lang.String getInitialContextFactory()
Obtains the JNDI initial context factory.
Returns:
initial context factory

getSecurityAuthentication

public java.lang.String getSecurityAuthentication()
Obtains the JNDI security authentication.
Returns:
security authentication

getProviderUrl

public java.lang.String getProviderUrl()
Obtains the JNDI provider URL.
Returns:
provider URL

getDataSourceJndiName

public java.lang.String getDataSourceJndiName()
Obtains the DataSource JNDI name.
Returns:
DataSource lookup name

getSecurityPrincipal

public java.lang.String getSecurityPrincipal()
Obtains the security principal.
Returns:
security principal

getSecurityCredentials

public ObfuscatedString getSecurityCredentials()
Obtains the security credentials.
Returns:
security creadentials

getAuthentication

@Deprecated
public java.lang.String getAuthentication()
Deprecated. replaced by getSecurityAuthentication()
See Also:
setAuthentication(String)

getJndiFactory

@Deprecated
public java.lang.String getJndiFactory()
Deprecated. replaced by getJndiFactory()
See Also:
setJndiFactory(String)

getJndiPassword

@Deprecated
public java.lang.String getJndiPassword()
Deprecated. replaced by getSecurityCredentials()
See Also:
setJndiPassword(String)

getJndiUrl

@Deprecated
public java.lang.String getJndiUrl()
Deprecated. replaced by getProviderUrl()
See Also:
setJndiUrl(String)

getJndiUsername

@Deprecated
public java.lang.String getJndiUsername()
Deprecated. replaced by getSecurityPrincipal()
See Also:
setJndiUsername(String)

getProtocole

@Deprecated
public java.lang.String getProtocole()
Deprecated. without any replacement
See Also:
setProtocole(String)

getResourceName

@Deprecated
public java.lang.String getResourceName()
Deprecated. replaced by getJndiDataSourceName()
See Also:
setResourceName(String)

setAuthentication

@Deprecated
public void setAuthentication(java.lang.String pAuthentication)
Deprecated. since instance of this class should be considered immutable
See Also:
getAuthentication()

setJndiFactory

@Deprecated
public void setJndiFactory(java.lang.String pJndiFactory)
Deprecated. since instance of this class should be considered immutable
See Also:
getJndiFactory()

setJndiPassword

@Deprecated
public void setJndiPassword(java.lang.String pJndiPassword)
Deprecated. since instance of this class should be considered immutable
See Also:
getJndiPassword()

setJndiUrl

@Deprecated
public void setJndiUrl(java.lang.String pJndiUrl)
Deprecated. since instance of this class should be considered immutable
See Also:
getJndiUrl()

setJndiUsername

@Deprecated
public void setJndiUsername(java.lang.String pJndiUsername)
Deprecated. since instance of this class should be considered immutable
See Also:
getJndiUsername()

setProtocole

@Deprecated
public void setProtocole(java.lang.String pProtocole)
Deprecated. since instance of this class should be considered immutable
See Also:
getProtocole()

setResourceName

@Deprecated
public void setResourceName(java.lang.String pResourceName)
Deprecated. since instance of this class should be considered immutable
See Also:
getResourceName()

Skip navigation links

Oracle® Data Integrator Java API Reference
11g Release 1 (11.1.1.7.0)

E17060-04


Copyright © 2010, 2013, Oracle and/or its affiliates. All rights reserved.