TorqueBox 3.1.2

org.torquebox.core.datasource.db
Class AbstractAdapter

java.lang.Object
  extended by org.torquebox.core.datasource.db.AbstractAdapter
All Implemented Interfaces:
Adapter
Direct Known Subclasses:
H2Adapter, MySQLAdapter, OracleAdapter, PostgresAdapter

public abstract class AbstractAdapter
extends Object
implements Adapter


Constructor Summary
AbstractAdapter(String id, String requirePath, String rubyDriverClassName, String driverClassName, String dataSourceClassName)
           
 
Method Summary
 String getDataSourceClassName()
           
 String getDriverClassName()
           
 String getId()
           
 String getRequirePath()
           
 String getRubyDriverClassName()
           
 org.jboss.jca.common.api.metadata.ds.DsSecurity getSecurityFor(DatabaseMetaData dsMeta)
           
 org.jboss.jca.common.api.metadata.ds.Validation getValidationFor(DatabaseMetaData dbMeta)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.torquebox.core.datasource.db.Adapter
getNames, getPropertiesFor
 

Constructor Detail

AbstractAdapter

public AbstractAdapter(String id,
                       String requirePath,
                       String rubyDriverClassName,
                       String driverClassName,
                       String dataSourceClassName)
Method Detail

getId

public String getId()
Specified by:
getId in interface Adapter

getRequirePath

public String getRequirePath()
Specified by:
getRequirePath in interface Adapter

getRubyDriverClassName

public String getRubyDriverClassName()
Specified by:
getRubyDriverClassName in interface Adapter

getDriverClassName

public String getDriverClassName()
Specified by:
getDriverClassName in interface Adapter

getDataSourceClassName

public String getDataSourceClassName()
Specified by:
getDataSourceClassName in interface Adapter

getSecurityFor

public org.jboss.jca.common.api.metadata.ds.DsSecurity getSecurityFor(DatabaseMetaData dsMeta)
                                                               throws org.jboss.jca.common.api.validator.ValidateException
Specified by:
getSecurityFor in interface Adapter
Throws:
org.jboss.jca.common.api.validator.ValidateException

getValidationFor

public org.jboss.jca.common.api.metadata.ds.Validation getValidationFor(DatabaseMetaData dbMeta)
                                                                 throws org.jboss.jca.common.api.validator.ValidateException
Specified by:
getValidationFor in interface Adapter
Throws:
org.jboss.jca.common.api.validator.ValidateException

TorqueBox 3.1.2

Copyright © 2015 JBoss by Red Hat. All Rights Reserved.