Class ModifiableConnDef

java.lang.Object
org.jboss.as.connector.subsystems.resourceadapters.ModifiableConnDef
All Implemented Interfaces:
Serializable, org.jboss.jca.common.api.metadata.JCAMetadata, org.jboss.jca.common.api.metadata.resourceadapter.ConnectionDefinition

public class ModifiableConnDef extends Object implements org.jboss.jca.common.api.metadata.resourceadapter.ConnectionDefinition
See Also:
  • Constructor Details

    • ModifiableConnDef

      public ModifiableConnDef(Map<String,String> configProperties, String className, String jndiName, String poolName, Boolean enabled, Boolean useJavaContext, Boolean useCcm, org.jboss.jca.common.api.metadata.common.Pool pool, org.jboss.jca.common.api.metadata.common.TimeOut timeOut, org.jboss.jca.common.api.metadata.common.Validation validation, org.jboss.jca.common.api.metadata.common.Security security, org.jboss.jca.common.api.metadata.common.Recovery recovery, Boolean sharable, Boolean enlistment, Boolean connectable, Boolean tracking, String mcp, Boolean enlistmentTrace) throws org.jboss.jca.common.api.validator.ValidateException
      Create a new ConnectionDefinition.
      Parameters:
      configProperties - configProperties
      className - className
      jndiName - jndiName
      poolName - poolName
      enabled - enabled
      useJavaContext - useJavaContext
      useCcm - useCcm
      pool - pool
      timeOut - timeOut
      validation - validation
      security - security
      recovery - recovery
      Throws:
      org.jboss.jca.common.api.validator.ValidateException
  • Method Details

    • getConfigProperties

      public final Map<String,String> getConfigProperties()
      Get the configProperties.
      Specified by:
      getConfigProperties in interface org.jboss.jca.common.api.metadata.resourceadapter.ConnectionDefinition
      Returns:
      the configProperties.
    • addConfigProperty

      public String addConfigProperty(String key, String value)
    • getClassName

      public final String getClassName()
      Get the className.
      Specified by:
      getClassName in interface org.jboss.jca.common.api.metadata.resourceadapter.ConnectionDefinition
      Returns:
      the className.
    • getJndiName

      public final String getJndiName()
      Get the jndiName.
      Specified by:
      getJndiName in interface org.jboss.jca.common.api.metadata.resourceadapter.ConnectionDefinition
      Returns:
      the jndiName.
    • getPoolName

      public final String getPoolName()
      Get the poolName.
      Specified by:
      getPoolName in interface org.jboss.jca.common.api.metadata.resourceadapter.ConnectionDefinition
      Returns:
      the poolName.
    • isEnabled

      public final Boolean isEnabled()
      Get the enabled.
      Specified by:
      isEnabled in interface org.jboss.jca.common.api.metadata.resourceadapter.ConnectionDefinition
      Returns:
      the enabled.
    • isUseJavaContext

      public final Boolean isUseJavaContext()
      Get the useJavaContext.
      Specified by:
      isUseJavaContext in interface org.jboss.jca.common.api.metadata.resourceadapter.ConnectionDefinition
      Returns:
      the useJavaContext.
    • isUseCcm

      public final Boolean isUseCcm()
      Get the useCcm.
      Specified by:
      isUseCcm in interface org.jboss.jca.common.api.metadata.resourceadapter.ConnectionDefinition
      Returns:
      the useCcm.
    • getPool

      public final org.jboss.jca.common.api.metadata.common.Pool getPool()
      Get the pool.
      Specified by:
      getPool in interface org.jboss.jca.common.api.metadata.resourceadapter.ConnectionDefinition
      Returns:
      the pool.
    • getTimeOut

      public final org.jboss.jca.common.api.metadata.common.TimeOut getTimeOut()
      Get the timeOut.
      Specified by:
      getTimeOut in interface org.jboss.jca.common.api.metadata.resourceadapter.ConnectionDefinition
      Returns:
      the timeOut.
    • getValidation

      public final org.jboss.jca.common.api.metadata.common.Validation getValidation()
      Get the validation.
      Specified by:
      getValidation in interface org.jboss.jca.common.api.metadata.resourceadapter.ConnectionDefinition
      Returns:
      the validation.
    • getSecurity

      public final org.jboss.jca.common.api.metadata.common.Security getSecurity()
      Get the security.
      Specified by:
      getSecurity in interface org.jboss.jca.common.api.metadata.resourceadapter.ConnectionDefinition
      Returns:
      the security.
    • isXa

      public final Boolean isXa()
      Specified by:
      isXa in interface org.jboss.jca.common.api.metadata.resourceadapter.ConnectionDefinition
    • getRecovery

      public final org.jboss.jca.common.api.metadata.common.Recovery getRecovery()
      Get the recovery.
      Specified by:
      getRecovery in interface org.jboss.jca.common.api.metadata.resourceadapter.ConnectionDefinition
      Returns:
      the recovery.
    • isSharable

      public Boolean isSharable()
      Specified by:
      isSharable in interface org.jboss.jca.common.api.metadata.resourceadapter.ConnectionDefinition
    • isEnlistment

      public Boolean isEnlistment()
      Specified by:
      isEnlistment in interface org.jboss.jca.common.api.metadata.resourceadapter.ConnectionDefinition
    • isConnectable

      public Boolean isConnectable()
      Specified by:
      isConnectable in interface org.jboss.jca.common.api.metadata.resourceadapter.ConnectionDefinition
    • isTracking

      public Boolean isTracking()
      Specified by:
      isTracking in interface org.jboss.jca.common.api.metadata.resourceadapter.ConnectionDefinition
    • getMcp

      public String getMcp()
      Specified by:
      getMcp in interface org.jboss.jca.common.api.metadata.resourceadapter.ConnectionDefinition
    • isEnlistmentTrace

      public Boolean isEnlistmentTrace()
      Specified by:
      isEnlistmentTrace in interface org.jboss.jca.common.api.metadata.resourceadapter.ConnectionDefinition
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object