Sun Adapter for Oracle Applications API

com.stc.connector.oracleadapter.base
Class MCConfiguration

java.lang.Object
  extended by com.stc.connector.framework.jca.system.MCConfiguration
      extended by 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

Field Summary
static java.lang.String PROBABILITY_FOR_COMMIT_TOFAIL_PARAMNAME
           
 
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
 

Field Detail

PROBABILITY_FOR_COMMIT_TOFAIL_PARAMNAME

public static final java.lang.String PROBABILITY_FOR_COMMIT_TOFAIL_PARAMNAME
See Also:
Constant Field Values
Constructor Detail

MCConfiguration

public MCConfiguration(java.lang.String className)
Creates a new instance of MCConfiguration

Parameters:
className - class name of the Managed Connection.
Method Detail

setConfiguration

public void setConfiguration(com.stc.connector.framework.util.ConfigurationHelper aConfiguration,
                             java.lang.Object aMCF)
                      throws java.lang.Exception
Overrides:
setConfiguration in 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:
setProbabilityIndexForCommitToFail in class com.stc.connector.framework.jca.system.MCConfiguration
Parameters:
probability -
aMCF -

Sun Adapter for Oracle Applications API

Copyright © 2008 Sun Microsystems, Inc.