com.stc.connector.oracleadapter.base
Class MCConfiguration
java.lang.Object
   com.stc.connector.framework.jca.system.MCConfiguration
com.stc.connector.framework.jca.system.MCConfiguration
       com.stc.connector.oracleadapter.base.MCConfiguration
com.stc.connector.oracleadapter.base.MCConfiguration
- All Implemented Interfaces: 
- java.io.Serializable
- public class MCConfiguration 
- extends com.stc.connector.framework.jca.system.MCConfiguration
Managed Connection Configuration.
- Author:
- $Author: pveerava $
- See Also:
- Serialized Form
 
| Constructor Summary | 
| MCConfiguration(java.lang.String className)Creates a new instance of MCConfiguration
 | 
 
| Method Summary | 
|  void | setConfiguration(com.stc.connector.framework.util.ConfigurationHelper aConfiguration,
                 java.lang.Object aMCF)
 | 
|  void | setProbabilityIndexForCommitToFail(java.lang.String probability,
                                   java.lang.Object aMCF)This method sets the value of PROBABILITY_FOR_COMMIT_TOFAIL_PARAMNAME on the
 JDBCConnector MCF.
 | 
 
| Methods inherited from class com.stc.connector.framework.jca.system.MCConfiguration | 
| getConfiguration, getConfigurationModel, getProbabilityIndexForCommitToFail, getProjectInfo, init, init, setAdditionalConfigMethods, setNonXAConfigMethods, setProjectInfo, setXAConfigMethods | 
 
| Methods inherited from class java.lang.Object | 
| equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
PROBABILITY_FOR_COMMIT_TOFAIL_PARAMNAME
public static final java.lang.String PROBABILITY_FOR_COMMIT_TOFAIL_PARAMNAME
- See Also:
- Constant Field Values
MCConfiguration
public MCConfiguration(java.lang.String className)
- Creates a new instance of MCConfiguration
 
- Parameters:
- className- class name of the Managed Connection.
 
setConfiguration
public void setConfiguration(com.stc.connector.framework.util.ConfigurationHelper aConfiguration,
                             java.lang.Object aMCF)
                      throws java.lang.Exception
- 
- Overrides:
- setConfigurationin class- com.stc.connector.framework.jca.system.MCConfiguration
 
- 
- Throws:
- java.lang.Exception
 
setProbabilityIndexForCommitToFail
public void setProbabilityIndexForCommitToFail(java.lang.String probability,
                                               java.lang.Object aMCF)
- This method sets the value of PROBABILITY_FOR_COMMIT_TOFAIL_PARAMNAME on the
 JDBCConnector MCF.
 This method is called from STCDelegationMCF. A config-property 
 ProbabilityIndexForCommitToFail is set in the ra.xml (by the codeletFactory)
 Which is passed along here by STCDelegationMCF.
 
- 
- Overrides:
- setProbabilityIndexForCommitToFailin class- com.stc.connector.framework.jca.system.MCConfiguration
 
- 
- Parameters:
- probability-
- aMCF-
 
Copyright © 2008 Sun Microsystems, Inc.