An EISLogin defines connection information and datasource
properties. There are three ways to connect to an EIS datasource through
EclipseLink EIS:
A EISConnectionSpec must be provided to define how to
connect to the EIS adapter.
The EIS platform can be used to provide datasource/driver specific behavior such as InteractionSpec and Record conversion.
EISConnectionSpec
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Accessor | buildAccessor()
Implements org. |
| public void | configureConnectionSpec(String jndiName)
PUBLIC: Configure the login to connect through a JDNI managed connection factory and the default getConnection(). |
| public void | configureConnectionSpec(ConnectionFactory connectionFactory)
PUBLIC: Configure the login to connect through a non-managed connection factory and the default getConnection(). |
| public void | configureConnectionSpec(String jndiName, ConnectionSpec connectionSpec)
PUBLIC: Configure the login to connect through a JDNI managed connection factory and adapter connection spec. |
| public void | configureConnectionSpec(ConnectionFactory connectionFactory, ConnectionSpec connectionSpec)
PUBLIC: Configure the login to connect through a non-managed connection factory and adapter connection spec. |
| public Object | connectToDatasource(Accessor accessor, Session session)
Overrides org. Implements org. |
| public String | getConnectionFactoryURL()
PUBLIC: Return the JNDI URL for the managed connection factory for the JCA adapter connecting to. |
| public EISConnectionSpec | |
| public void | setConnectionFactoryURL(String url)
PUBLIC: Set the JNDI URL for the managed connection factory for the JCA adapter connecting to. |
| public void | |
| public void | setPassword(String password)
Overrides org. Implements org. |
| EISLogin | back to summary |
|---|---|
| public EISLogin() Default constructor. | |
| EISLogin | back to summary |
|---|---|
| public EISLogin(Platform platform) Constructor. | |
| buildAccessor | back to summary |
|---|---|
| public Accessor buildAccessor() Implements org. Build and return the EIS accessorr.
| |
| configureConnectionSpec | back to summary |
|---|---|
| public void configureConnectionSpec(String jndiName) PUBLIC: Configure the login to connect through a JDNI managed connection factory and the default getConnection(). | |
| configureConnectionSpec | back to summary |
|---|---|
| public void configureConnectionSpec(ConnectionFactory connectionFactory) PUBLIC: Configure the login to connect through a non-managed connection factory and the default getConnection(). | |
| configureConnectionSpec | back to summary |
|---|---|
| public void configureConnectionSpec(String jndiName, ConnectionSpec connectionSpec) PUBLIC: Configure the login to connect through a JDNI managed connection factory and adapter connection spec. | |
| configureConnectionSpec | back to summary |
|---|---|
| public void configureConnectionSpec(ConnectionFactory connectionFactory, ConnectionSpec connectionSpec) PUBLIC: Configure the login to connect through a non-managed connection factory and adapter connection spec. | |
| connectToDatasource | back to summary |
|---|---|
| public Object connectToDatasource(Accessor accessor, Session session) Overrides org. Implements org. Connect to the EIS adapter and return the Connection.
| |
| getConnectionFactoryURL | back to summary |
|---|---|
| public String getConnectionFactoryURL() PUBLIC: Return the JNDI URL for the managed connection factory for the JCA adapter connecting to. | |
| getConnectionSpec | back to summary |
|---|---|
| public EISConnectionSpec getConnectionSpec() Return the connector. The connector defines how the connection is created. | |
| setConnectionFactoryURL | back to summary |
|---|---|
| public void setConnectionFactoryURL(String url) PUBLIC: Set the JNDI URL for the managed connection factory for the JCA adapter connecting to. | |
| setConnectionSpec | back to summary |
|---|---|
| public void setConnectionSpec(EISConnectionSpec connectionSpec) PUBLIC: Set the EclipseLink connection spec. The connection spec defines how to connect to the EIS adapter. | |
| setPassword | back to summary |
|---|---|
| public void setPassword(String password) Overrides org. Implements org. PUBLIC: Set the password.
| |