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

java.lang.Object
  extended by org.jboss.jca.common.metadata.common.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.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.CommonConnDef
org.jboss.jca.common.api.metadata.common.CommonConnDef.Attribute, org.jboss.jca.common.api.metadata.common.CommonConnDef.Tag
 
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
 

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.

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

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.


Copyright © 2008 Red Hat Middleware LLC (http://www.jboss.com/)