org.jboss.jca.common.metadata.common.v10
Class CommonConnDefImpl

java.lang.Object
  extended by org.jboss.jca.common.metadata.common.v10.CommonConnDefImpl
All Implemented Interfaces:
Serializable, org.jboss.jca.common.api.metadata.common.CommonConnDef, org.jboss.jca.common.api.metadata.JCAMetadata

public class CommonConnDefImpl
extends Object
implements org.jboss.jca.common.api.metadata.common.v10.CommonConnDef

A ConnectionDefinition.

Author:
Stefano Maestri
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.jboss.jca.common.api.metadata.common.v10.CommonConnDef
org.jboss.jca.common.api.metadata.common.v10.CommonConnDef.Attribute, org.jboss.jca.common.api.metadata.common.v10.CommonConnDef.Tag
 
Field Summary
protected  String className
          class-name
protected  Map<String,String> configProperties
          config-property
protected  Boolean enabled
          enable
protected  String jndiName
          jndi-name
protected  org.jboss.jca.common.api.metadata.common.CommonPool pool
          pool
protected  String poolName
          pool-name
protected  org.jboss.jca.common.api.metadata.common.Recovery recovery
          recovery
protected  org.jboss.jca.common.api.metadata.common.CommonSecurity security
          security
protected  org.jboss.jca.common.api.metadata.common.CommonTimeOut timeOut
          timeout
protected  Boolean useCcm
          use-ccm
protected  Boolean useJavaContext
          use-java-context
protected  org.jboss.jca.common.api.metadata.common.CommonValidation validation
          validation
 
Constructor Summary
CommonConnDefImpl(Map<String,String> configProperties, String className, String jndiName, String poolName, Boolean enabled, Boolean useJavaContext, Boolean useCcm, org.jboss.jca.common.api.metadata.common.CommonPool pool, org.jboss.jca.common.api.metadata.common.CommonTimeOut timeOut, org.jboss.jca.common.api.metadata.common.CommonValidation validation, org.jboss.jca.common.api.metadata.common.CommonSecurity security, org.jboss.jca.common.api.metadata.common.Recovery recovery)
          Create a new ConnectionDefinition.
 
Method Summary
 boolean equals(Object obj)
           
 String getClassName()
          Get the className.
 Map<String,String> getConfigProperties()
          Get the configProperties.
 String getJndiName()
          Get the jndiName.
 org.jboss.jca.common.api.metadata.common.CommonPool getPool()
          Get the pool.
 String getPoolName()
          Get the poolName.
 org.jboss.jca.common.api.metadata.common.Recovery getRecovery()
          Get the recovery.
 org.jboss.jca.common.api.metadata.common.CommonSecurity getSecurity()
          Get the security.
 org.jboss.jca.common.api.metadata.common.CommonTimeOut getTimeOut()
          Get the timeOut.
 org.jboss.jca.common.api.metadata.common.CommonValidation getValidation()
          Get the validation.
 int hashCode()
           
 Boolean isEnabled()
          Get the enabled.
 Boolean isUseCcm()
          Get the useCcm.
 Boolean isUseJavaContext()
          Get the useJavaContext.
 Boolean isXa()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

configProperties

protected final Map<String,String> configProperties
config-property


className

protected final String className
class-name


jndiName

protected final String jndiName
jndi-name


poolName

protected final String poolName
pool-name


enabled

protected final Boolean enabled
enable


useJavaContext

protected final Boolean useJavaContext
use-java-context


useCcm

protected final Boolean useCcm
use-ccm


pool

protected final org.jboss.jca.common.api.metadata.common.CommonPool pool
pool


timeOut

protected final org.jboss.jca.common.api.metadata.common.CommonTimeOut timeOut
timeout


validation

protected final org.jboss.jca.common.api.metadata.common.CommonValidation validation
validation


security

protected final org.jboss.jca.common.api.metadata.common.CommonSecurity security
security


recovery

protected final org.jboss.jca.common.api.metadata.common.Recovery recovery
recovery

Constructor Detail

CommonConnDefImpl

public CommonConnDefImpl(Map<String,String> configProperties,
                         String className,
                         String jndiName,
                         String poolName,
                         Boolean enabled,
                         Boolean useJavaContext,
                         Boolean useCcm,
                         org.jboss.jca.common.api.metadata.common.CommonPool pool,
                         org.jboss.jca.common.api.metadata.common.CommonTimeOut timeOut,
                         org.jboss.jca.common.api.metadata.common.CommonValidation validation,
                         org.jboss.jca.common.api.metadata.common.CommonSecurity security,
                         org.jboss.jca.common.api.metadata.common.Recovery recovery)
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
Method Detail

getConfigProperties

public final Map<String,String> getConfigProperties()
Get the configProperties.

Specified by:
getConfigProperties in interface org.jboss.jca.common.api.metadata.common.CommonConnDef
Returns:
the configProperties.

getClassName

public final String getClassName()
Get the className.

Specified by:
getClassName in interface org.jboss.jca.common.api.metadata.common.CommonConnDef
Returns:
the className.

getJndiName

public final String getJndiName()
Get the jndiName.

Specified by:
getJndiName in interface org.jboss.jca.common.api.metadata.common.CommonConnDef
Returns:
the jndiName.

getPoolName

public final String getPoolName()
Get the poolName.

Specified by:
getPoolName in interface org.jboss.jca.common.api.metadata.common.CommonConnDef
Returns:
the poolName.

isEnabled

public final Boolean isEnabled()
Get the enabled.

Specified by:
isEnabled in interface org.jboss.jca.common.api.metadata.common.CommonConnDef
Returns:
the enabled.

isUseJavaContext

public final Boolean isUseJavaContext()
Get the useJavaContext.

Specified by:
isUseJavaContext in interface org.jboss.jca.common.api.metadata.common.CommonConnDef
Returns:
the useJavaContext.

isUseCcm

public final Boolean isUseCcm()
Get the useCcm.

Specified by:
isUseCcm in interface org.jboss.jca.common.api.metadata.common.CommonConnDef
Returns:
the useCcm.

getPool

public final org.jboss.jca.common.api.metadata.common.CommonPool getPool()
Get the pool.

Specified by:
getPool in interface org.jboss.jca.common.api.metadata.common.CommonConnDef
Returns:
the pool.

getTimeOut

public final org.jboss.jca.common.api.metadata.common.CommonTimeOut getTimeOut()
Get the timeOut.

Specified by:
getTimeOut in interface org.jboss.jca.common.api.metadata.common.CommonConnDef
Returns:
the timeOut.

getValidation

public final org.jboss.jca.common.api.metadata.common.CommonValidation getValidation()
Get the validation.

Specified by:
getValidation in interface org.jboss.jca.common.api.metadata.common.CommonConnDef
Returns:
the validation.

getSecurity

public final org.jboss.jca.common.api.metadata.common.CommonSecurity getSecurity()
Get the security.

Specified by:
getSecurity in interface org.jboss.jca.common.api.metadata.common.CommonConnDef
Returns:
the security.

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.common.CommonConnDef
Returns:
the recovery.

isXa

public final Boolean isXa()
Specified by:
isXa in interface org.jboss.jca.common.api.metadata.common.CommonConnDef

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


Copyright © 2012 JBoss, by Red Hat (http://www.jboss.org/ironjacamar)