public abstract class AbstractOdiDataServer
extends oracle.odi.domain.support.AbstractOdiEntity
Abstract root class for OdiDataServer
and OdiRepositoryServer
.
Modifier and Type | Class and Description |
---|---|
static class |
AbstractOdiDataServer.Axis2DeploymentSettings
Subclass of
AbstractOdiDataServer.WsContainerSettings . |
static class |
AbstractOdiDataServer.DirectoryDeploymentSettings
Subclass of
AbstractOdiDataServer.WsContainerSettings . |
static class |
AbstractOdiDataServer.DummyConnectionSettings |
static class |
AbstractOdiDataServer.FtpDeploymentSettings
Subclass of
AbstractOdiDataServer.WsContainerSettings . |
static interface |
AbstractOdiDataServer.IConnectionSettings
Type safety interface that implementation classes will implement to
define connectivity settings.
|
static class |
AbstractOdiDataServer.JdbcSettings
Holds JDBC metadata required to get a JDBC connection from driver
manager.
|
static class |
AbstractOdiDataServer.JndiSettings
Holds JNDI metadata required to get a JDBC connection from a DataSource
configured in an external JNDI provider.
|
static class |
AbstractOdiDataServer.WsContainerSettings
Abstract base class related to ODI DataServices deployment.
|
Modifier and Type | Method and Description |
---|---|
abstract AbstractOdiDataServer.IConnectionSettings |
getConnectionSettings()
Returns the
AbstractOdiDataServer.IConnectionSettings defined for this data server. |
java.lang.Number |
getDataServerId()
Obtains this data server ID.
|
java.io.Serializable |
getInternalId()
Provides a common getter for the persistence layer to obtain an identity,
irrespective of the actual type of identity used.
|
ObfuscatedString |
getPassword()
Obtains the password to connect to this data server.
|
IRepositoryEntity |
getSecurityContainer()
Define a generic way to retrieve container for entities.
|
java.lang.String |
getUsername()
Obtains the username that will be used to connect to this data server.
|
boolean |
isJndiConnection() |
abstract void |
setConnectionSettings(AbstractOdiDataServer.IConnectionSettings pSettings)
Defines the connection settings for this
AbstractOdiDataServer . |
void |
setPassword(ObfuscatedString pPassword)
Defines the password to connect to this
OdiDataServer . |
void |
setUsername(java.lang.String pUsername)
Define the username to connect to this data server.
|
equals, getFirstDate, getFirstUser, getInternalVersion, getLastDate, getLastUser, getName, hashCode, isInstanceLevelSecurityNeeded, isNew, toString
getGlobalId, getNumericId, hasCustomizedPersistenceMethodFor, invokeCustomizedPersistenceMethodFor
getGlobalId
public java.lang.Number getDataServerId()
public java.io.Serializable getInternalId()
IRepositoryEntity
Typically a subclass will delegate to a public
SomePrimitiveWrapper getId()
method. The necessity for the
getInternalId()
abstract method is solely because the
persistence layer needs a way of obtaining the identity irrespective of
the actual identity implementation choice.
Returning null
from this method will indicate the object has
never been saved. This will likely be relied on by some DAO
implementations.
public abstract AbstractOdiDataServer.IConnectionSettings getConnectionSettings()
AbstractOdiDataServer.IConnectionSettings
defined for this data server.setConnectionSettings(IConnectionSettings)
public abstract void setConnectionSettings(AbstractOdiDataServer.IConnectionSettings pSettings) throws java.lang.IllegalArgumentException
AbstractOdiDataServer
.pSettings
- the connection settings of this data serverDomainRuntimeException
- in case of a bad settings valuejava.lang.IllegalArgumentException
getConnectionSettings()
public java.lang.String getUsername()
null
if none has been setsetUsername(String)
public void setUsername(java.lang.String pUsername)
null
if none.pUsername
- the usernamegetUsername()
public ObfuscatedString getPassword()
null
if nonesetPassword(ObfuscatedString)
public void setPassword(ObfuscatedString pPassword)
OdiDataServer
. Can be
null
if none.pPassword
- the passwordgetPassword()
public IRepositoryEntity getSecurityContainer()
IRepositoryEntity
public boolean isJndiConnection()