|
Oracle® Data Integrator Java API Reference 11g Release 1 (11.1.1.7.0) E17060-04 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
oracle.odi.domain.support.BusinessObject
oracle.odi.domain.support.AbstractRepositoryEntity
oracle.odi.domain.support.AbstractOdiEntity
oracle.odi.domain.topology.OdiPhysicalAgentDataSource
public class OdiPhysicalAgentDataSource
OdiPhysicalAgentDataSource allows to override connection settings of an AbstractOdiDataServer with J2EE DataSource settings for an ODI agent deployed into a J2EE server.
| Nested Class Summary | |
|---|---|
static class |
OdiPhysicalAgentDataSource.OdiPhysicalAgentDataSourceIdIdentifier class for OdiPhysicalAgentDataSource. |
| Field Summary |
|---|
| Fields inherited from class oracle.odi.domain.support.AbstractOdiEntity |
|---|
STARTING_INTERNAL_VERSION |
| Constructor Summary | |
|---|---|
OdiPhysicalAgentDataSource(OdiPhysicalAgent pAgent, AbstractOdiDataServer pDataServer)Create a new OdiPhysicalAgentDataSource. |
|
| Method Summary | |
|---|---|
AbstractOdiDataServer |
getDataServer()Obtains the data server related to this OdiPhysicalAgentDataSource. |
java.io.Serializable |
getInternalId()Provides a common getter for the persistence layer to obtain an identity, irrespective of the actual type of identity used. |
java.lang.String |
getJndiName()Obtains the JNDI name of the JDBC DataSource. |
OdiPhysicalAgent |
getPhysicalAgent()Obtains the physical agent related to this OdiPhysicalAgentDataSource. |
IRepositoryEntity |
getSecurityContainer()Define a generic way to retrieve container for entities. |
boolean |
isLookupUsingJndiEncPrefix()Returns whether the JNDI ENC prefix is enabled or not. |
void |
setJndiName(java.lang.String pJndiName)Define the JNDI name to be use to obtain a reference to the JDBC DataSource. |
void |
setLookupUsingJndiEncPrefix(boolean pLookupUsingJndiEncPrefix)Define whether the underlying data source should be looked up using the standard JNDI ENC prefix or not. |
| Methods inherited from class oracle.odi.domain.support.AbstractOdiEntity |
|---|
equals, getFirstDate, getFirstUser, getInternalVersion, getLastDate, getLastUser, getName, hashCode, isInstanceLevelSecurityNeeded, isNew, toString |
| Methods inherited from class oracle.odi.domain.support.BusinessObject |
|---|
clone |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface oracle.odi.domain.IOdiEntity |
|---|
getFirstDate, getFirstUser, getLastDate, getLastUser, getName, isInstanceLevelSecurityNeeded |
| Constructor Detail |
|---|
public OdiPhysicalAgentDataSource(OdiPhysicalAgent pAgent,
AbstractOdiDataServer pDataServer)
OdiPhysicalAgentDataSource.
pAgent - a physical agentpDataServer - a data server| Method Detail |
|---|
public java.io.Serializable getInternalId()
IRepositoryEntityTypically 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.
getInternalId in interface IRepositoryEntitypublic void setJndiName(java.lang.String pJndiName)
pJndiName - the JNDI nameDomainRuntimeException - if the JNDI name is null or emptygetJndiName()public java.lang.String getJndiName()
setJndiName(String)public AbstractOdiDataServer getDataServer()
OdiPhysicalAgentDataSource.AbstractOdiDataServerpublic IRepositoryEntity getSecurityContainer()
IRepositoryEntitygetSecurityContainer in interface IRepositoryEntitypublic OdiPhysicalAgent getPhysicalAgent()
OdiPhysicalAgentDataSource.OdiPhysicalAgentpublic boolean isLookupUsingJndiEncPrefix()
true if enabled, false otherwise.public void setLookupUsingJndiEncPrefix(boolean pLookupUsingJndiEncPrefix)
By default that property is set to true.
pLookupUsingJndiEncPrefix - true to use JNDI ENC naming, false otherwise
|
Oracle® Data Integrator Java API Reference 11g Release 1 (11.1.1.7.0) E17060-04 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||