| 
 | Sun Adapter for Oracle Applications API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.stc.connector.framework.util.JndiJCAObject
com.stc.connector.framework.jca.system.STCManagedConnectionFactory
com.stc.connector.framework.jca.system.STCDelegationManagedConnectionFactory
com.stc.connector.oracleadapter.base.OracleManagedConnectionFactory
public class OracleManagedConnectionFactory
Managed Connection Factory for a Oracle MCF this class delegates to
| Constructor Summary | |
|---|---|
| OracleManagedConnectionFactory()Default Constructor | |
| Method Summary | |
|---|---|
|  javax.resource.spi.ManagedConnectionFactory | getBaseFactory() | 
|  java.lang.String | getBaseFactoryClassName() | 
|  java.util.Set | getInvalidConnections(java.util.Set connectionSet)This method returns a set of invalid ManagedConnection objects chosen from a specified set of ManagedConnection objects. | 
|  java.lang.String | getManagedConfigurationClassName() | 
|  java.lang.String | getProbabilityIndexForCommitToFail() | 
|  javax.resource.spi.ManagedConnection | matchManagedConnections(java.util.Set connectionSet,
                        javax.security.auth.Subject subject,
                        javax.resource.spi.ConnectionRequestInfo cxRequestInfo)Returns a matched connection from the candidate set of connections. | 
|  void | setBaseFactoryClassName(java.lang.String aClassName) | 
|  void | setConfiguration(java.lang.String aConfiguration) | 
|  void | setManagedConfigurationClassName(java.lang.String aClassName) | 
|  void | setProbabilityIndexForCommitToFail(java.lang.String probability) | 
|  void | setResourceAdapter(javax.resource.spi.ResourceAdapter aResourceAdapter)Associate this ManagedConnectionFactory JavaBean with a ResourceAdapter JavaBean. | 
|  void | stop() | 
| Methods inherited from class com.stc.connector.framework.jca.system.STCManagedConnectionFactory | 
|---|
| createConnectionFactory, createConnectionFactory, createManagedConnection, createMBean, equals, getApplicationConnectionFactoryClass, getConfiguration, getConfigurationInstance, getConfigurationModel, getConfigurationTemplate, getEwayConnectionClass, getEwayManagedConnectionMBeanClass, getEwayMCFDescription, getEwayMCFMBeanClass, getEwayMCFMBeanName, getEwayMCFName, getLogWriter, getMonitor, getMonitorData, getProcessConfigurationParameters, getProjectInfo, getResourceAdapter, hashCode, isStarted, origSetConfiguration, origSetConfiguration, setApplicationConnectionFactoryClass, setConfigurationInstance, setConfigurationTemplate, setEwayConnectionClass, setEwayManagedConnectionMBeanClass, setEwayMCFDescription, setEwayMCFMBeanClass, setEwayMCFMBeanName, setEwayMCFName, setLogWriter, setMonitorDataClass, setProcessConfigurationParameters, setProjectInfo, start | 
| Methods inherited from class com.stc.connector.framework.util.JndiJCAObject | 
|---|
| getReference, getVersion, setReference | 
| Methods inherited from class java.lang.Object | 
|---|
| getClass, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public OracleManagedConnectionFactory()
| Method Detail | 
|---|
public javax.resource.spi.ManagedConnection matchManagedConnections(java.util.Set connectionSet,
                                                                    javax.security.auth.Subject subject,
                                                                    javax.resource.spi.ConnectionRequestInfo cxRequestInfo)
                                                             throws javax.resource.ResourceException
matchManagedConnections in interface javax.resource.spi.ManagedConnectionFactorymatchManagedConnections in class com.stc.connector.framework.jca.system.STCDelegationManagedConnectionFactoryconnectionSet - The candidate connection set.subject - The Subject provided by the container which may contain
        credentials for authenticating to the EIS.cxRequestInfo - The ConnectionRequestInfo containing information
        which can be used for creating the EIS connection.
javax.resource.ResourceException - upon error.
public void setConfiguration(java.lang.String aConfiguration)
                      throws java.lang.Exception
setConfiguration in class com.stc.connector.framework.jca.system.STCDelegationManagedConnectionFactoryjava.lang.Exceptionpublic void setProbabilityIndexForCommitToFail(java.lang.String probability)
setProbabilityIndexForCommitToFail in class com.stc.connector.framework.jca.system.STCDelegationManagedConnectionFactorypublic java.lang.String getProbabilityIndexForCommitToFail()
getProbabilityIndexForCommitToFail in class com.stc.connector.framework.jca.system.STCDelegationManagedConnectionFactorypublic java.lang.String getBaseFactoryClassName()
getBaseFactoryClassName in class com.stc.connector.framework.jca.system.STCDelegationManagedConnectionFactorypublic javax.resource.spi.ManagedConnectionFactory getBaseFactory()
getBaseFactory in class com.stc.connector.framework.jca.system.STCDelegationManagedConnectionFactory
public void setBaseFactoryClassName(java.lang.String aClassName)
                             throws java.lang.Exception
setBaseFactoryClassName in class com.stc.connector.framework.jca.system.STCDelegationManagedConnectionFactoryjava.lang.Exceptionpublic java.lang.String getManagedConfigurationClassName()
getManagedConfigurationClassName in class com.stc.connector.framework.jca.system.STCDelegationManagedConnectionFactory
public void setManagedConfigurationClassName(java.lang.String aClassName)
                                      throws java.lang.Exception
setManagedConfigurationClassName in class com.stc.connector.framework.jca.system.STCDelegationManagedConnectionFactoryjava.lang.Exceptionpublic java.util.Set getInvalidConnections(java.util.Set connectionSet)
getInvalidConnections in interface javax.resource.spi.ValidatingManagedConnectionFactorygetInvalidConnections in class com.stc.connector.framework.jca.system.STCDelegationManagedConnectionFactoryconnectionSet - - a set of ManagedConnection objects that need to be validated.
public void setResourceAdapter(javax.resource.spi.ResourceAdapter aResourceAdapter)
                        throws javax.resource.ResourceException
setResourceAdapter in interface javax.resource.spi.ResourceAdapterAssociationsetResourceAdapter in class com.stc.connector.framework.jca.system.STCDelegationManagedConnectionFactoryresourceAdapter - The ResourceAdapter JavaBean.
javax.resource.ResourceException - upon error.public void stop()
stop in interface com.stc.connector.management.jca.system.mbeans.LifeCyclestop in class com.stc.connector.framework.jca.system.STCDelegationManagedConnectionFactory| 
 | Sun Adapter for Oracle Applications API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||