|
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.ManagedConnectionFactory
matchManagedConnections
in class com.stc.connector.framework.jca.system.STCDelegationManagedConnectionFactory
connectionSet
- 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.STCDelegationManagedConnectionFactory
java.lang.Exception
public void setProbabilityIndexForCommitToFail(java.lang.String probability)
setProbabilityIndexForCommitToFail
in class com.stc.connector.framework.jca.system.STCDelegationManagedConnectionFactory
public java.lang.String getProbabilityIndexForCommitToFail()
getProbabilityIndexForCommitToFail
in class com.stc.connector.framework.jca.system.STCDelegationManagedConnectionFactory
public java.lang.String getBaseFactoryClassName()
getBaseFactoryClassName
in class com.stc.connector.framework.jca.system.STCDelegationManagedConnectionFactory
public 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.STCDelegationManagedConnectionFactory
java.lang.Exception
public 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.STCDelegationManagedConnectionFactory
java.lang.Exception
public java.util.Set getInvalidConnections(java.util.Set connectionSet)
getInvalidConnections
in interface javax.resource.spi.ValidatingManagedConnectionFactory
getInvalidConnections
in class com.stc.connector.framework.jca.system.STCDelegationManagedConnectionFactory
connectionSet
- - 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.ResourceAdapterAssociation
setResourceAdapter
in class com.stc.connector.framework.jca.system.STCDelegationManagedConnectionFactory
resourceAdapter
- The ResourceAdapter JavaBean.
javax.resource.ResourceException
- upon error.public void stop()
stop
in interface com.stc.connector.management.jca.system.mbeans.LifeCycle
stop
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 |