An EISConnectionSpec specifies how the
jakarta.resource.cci.Connection is accessed. There are three ways
to connect to an EIS datasource through JCA:
EISLogin
| Modifier and Type | Field and Description |
|---|---|
| protected ConnectionFactory | |
| protected ConnectionSpec | |
| protected Context | |
| protected Writer | |
| protected Name | |
| public static final String | |
| public static final String |
| Access | Constructor and Description |
|---|---|
| public | |
| public | EISConnectionSpec(Context context, String name)
PUBLIC: Construct a EISConnectionSpec with the specified settings. |
| public | |
| public | EISConnectionSpec(Context context, Name name)
PUBLIC: Construct a EISConnectionSpec with the specified settings. |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Object | clone()
Overrides java. Implements org. |
| public Connection | connect(Properties properties, Session session)
Implements org. |
| public Connection | connectToDataSource(EISAccessor accessor, Properties properties)
Connect with the specified properties and return the Connection. |
| public String | Returns: java.lang.StringImplements org. |
| public ConnectionFactory | |
| public ConnectionSpec | |
| public Context | |
| public Writer | |
| public Name | |
| public String | getPasswordFromProperties(Properties properties)
INTERNAL: Retrieve the password property from the supplied Properties object |
| public void | setConnectionFactory(ConnectionFactory connectionFactory)
PUBLIC: Set the jakarta.resource.cci.ConnectionFactory. |
| public void | setConnectionFactoryObject(Object connectionFactory)
PUBLIC: Set the jakarta.resource.cci.ConnectionFactory. |
| public void | setConnectionSpec(ConnectionSpec connectionSpec)
PUBLIC: Set the jakarta.resource.cci.ConnectionSpec. |
| public void | setConnectionSpecObject(Object connectionFactory)
PUBLIC: Set the jakarta.resource.cci.ConnectionSpec. |
| public void | setContext(Context context)
PUBLIC: Set the JNDI Context that can supply the named ConnectionFactory. |
| public void | |
| public void | |
| public void | |
| public String | |
| public void | toString(PrintWriter writer)
Implements org. |
| connectionFactory | back to summary |
|---|---|
| protected ConnectionFactory connectionFactory | |
| connectionSpec | back to summary |
|---|---|
| protected ConnectionSpec connectionSpec | |
| context | back to summary |
|---|---|
| protected Context context | |
| log | back to summary |
|---|---|
| protected Writer log | |
| name | back to summary |
|---|---|
| protected Name name | |
| PASSWORD | back to summary |
|---|---|
| public static final String PASSWORD | |
| USER | back to summary |
|---|---|
| public static final String USER | |
| EISConnectionSpec | back to summary |
|---|---|
| public EISConnectionSpec() PUBLIC: Construct a EISConnectionSpec with no settings. The ConnectionFactory name will still need to be set. | |
| EISConnectionSpec | back to summary |
|---|---|
| public EISConnectionSpec(Context context, String name) throws ValidationException PUBLIC: Construct a EISConnectionSpec with the specified settings. | |
| EISConnectionSpec | back to summary |
|---|---|
| public EISConnectionSpec(String name) throws ValidationException PUBLIC: Construct a EISConnectionSpec with the specified settings. | |
| EISConnectionSpec | back to summary |
|---|---|
| public EISConnectionSpec(Context context, Name name) PUBLIC: Construct a EISConnectionSpec with the specified settings. | |
| EISConnectionSpec | back to summary |
|---|---|
| public EISConnectionSpec(Name name) PUBLIC: Construct a EISConnectionSpec with the specified settings. | |
| clone | back to summary |
|---|---|
| public Object clone() Overrides java. Implements org. INTERNAL: Clone the connector.
| |
| connect | back to summary |
|---|---|
| public Connection connect(Properties properties, Session session) Implements org. INTERNAL: Required for interface, but never used, for JDBC.
| |
| connectToDataSource | back to summary |
|---|---|
| public Connection connectToDataSource(EISAccessor accessor, Properties properties) throws DatabaseException, ValidationException Connect with the specified properties and return the Connection. | |
| getConnectionDetails | back to summary |
|---|---|
| public String getConnectionDetails() Implements org. PUBLIC: Provide the details of my connection information. This is primarily for JMX runtime services. | |
| getConnectionFactory | back to summary |
|---|---|
| public ConnectionFactory getConnectionFactory() PUBLIC: Return the jakarta.resource.cci.ConnectionFactory. | |
| getConnectionSpec | back to summary |
|---|---|
| public ConnectionSpec getConnectionSpec() PUBLIC: Return the jakarta.resource.cci.ConnectionSpec. | |
| getContext | back to summary |
|---|---|
| public Context getContext() PUBLIC: Return the JNDI Context that can supplied the named ConnectionFactory. | |
| getLog | back to summary |
|---|---|
| public Writer getLog() PUBLIC: Returns the attunity adapter message log. | |
| getName | back to summary |
|---|---|
| public Name getName() PUBLIC: Return the name of the ConnectionFactory within the JNDI Context. | |
| getPasswordFromProperties | back to summary |
|---|---|
| public String getPasswordFromProperties(Properties properties) INTERNAL: Retrieve the password property from the supplied Properties object | |
| setConnectionFactory | back to summary |
|---|---|
| public void setConnectionFactory(ConnectionFactory connectionFactory) PUBLIC: Set the jakarta.resource.cci.ConnectionFactory. | |
| setConnectionFactoryObject | back to summary |
|---|---|
| public void setConnectionFactoryObject(Object connectionFactory) PUBLIC: Set the jakarta.resource.cci.ConnectionFactory. | |
| setConnectionSpec | back to summary |
|---|---|
| public void setConnectionSpec(ConnectionSpec connectionSpec) PUBLIC: Set the jakarta.resource.cci.ConnectionSpec. This is only required if the default getConnection() on the connection factory is not used. This must be set to the EIS adapter specific connection spec. | |
| setConnectionSpecObject | back to summary |
|---|---|
| public void setConnectionSpecObject(Object connectionFactory) PUBLIC: Set the jakarta.resource.cci.ConnectionSpec. This is only required if the default getConnection() on the connection factory is not used. This must be set to the EIS adapter specific connection spec. | |
| setContext | back to summary |
|---|---|
| public void setContext(Context context) PUBLIC: Set the JNDI Context that can supply the named ConnectionFactory. | |
| setLog | back to summary |
|---|---|
| public void setLog(Writer log) PUBLIC: Sets the attunity adapter message log. | |
| setName | back to summary |
|---|---|
| public void setName(String name) throws ValidationException PUBLIC: Set the name of the ConnectionFactory within the JNDI Context. | |
| setName | back to summary |
|---|---|
| public void setName(Name name) PUBLIC: Set the name of the ConnectionFactory within the JNDI Context. | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. PUBLIC: Print data source info.
| |
| toString | back to summary |
|---|---|
| public void toString(PrintWriter writer) Implements org. INTERNAL: Print something useful on the log.
| |