org.mule.module.db.internal.config.domain.database
Class AbstractVendorConfigFactoryBean

java.lang.Object
  extended by org.springframework.beans.factory.config.AbstractFactoryBean<DbConfig>
      extended by org.mule.module.db.internal.config.domain.database.DbConfigFactoryBean
          extended by org.mule.module.db.internal.config.domain.database.AbstractVendorConfigFactoryBean
All Implemented Interfaces:
MuleContextAware, Initialisable, org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanClassLoaderAware, org.springframework.beans.factory.BeanFactoryAware, org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.FactoryBean<DbConfig>, org.springframework.beans.factory.InitializingBean
Direct Known Subclasses:
MySqlConfigFactoryBean, OracleConfigFactoryBean

public abstract class AbstractVendorConfigFactoryBean
extends DbConfigFactoryBean

Base class for creating vendor's DbConfigFactoryBean


Field Summary
 
Fields inherited from class org.springframework.beans.factory.config.AbstractFactoryBean
logger
 
Fields inherited from interface org.mule.api.lifecycle.Initialisable
PHASE_NAME
 
Constructor Summary
protected AbstractVendorConfigFactoryBean(String urlPrefix)
           
 
Method Summary
protected  String buildUrlFromAttributes()
           
 String getDatabase()
           
protected  String getEffectiveUrl()
           
 String getHost()
           
 int getPort()
           
 String getUrlPrefix()
           
 void setDatabase(String database)
           
 void setHost(String host)
           
 void setPort(int port)
           
 
Methods inherited from class org.mule.module.db.internal.config.domain.database.DbConfigFactoryBean
createInstance, doCreateDbConfig, doCreateTypeManager, getConnectionProperties, getCustomDataTypes, getDataSource, getDriverClassName, getName, getObjectType, getUrl, getVendorDataTypes, initialise, setConnectionProperties, setconnectionTimeout, setCustomDataTypes, setDataSource, setDriverClassName, setMuleContext, setName, setPassword, setPoolingProfile, setTransactionIsolation, setUrl, setUser, setUseXaTransactions, validate
 
Methods inherited from class org.springframework.beans.factory.config.AbstractFactoryBean
afterPropertiesSet, destroy, destroyInstance, getBeanFactory, getBeanTypeConverter, getEarlySingletonInterfaces, getObject, isSingleton, setBeanClassLoader, setBeanFactory, setSingleton
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractVendorConfigFactoryBean

protected AbstractVendorConfigFactoryBean(String urlPrefix)
Method Detail

getHost

public String getHost()

setHost

public void setHost(String host)

getPort

public int getPort()

setPort

public void setPort(int port)

getUrlPrefix

public String getUrlPrefix()

getEffectiveUrl

protected String getEffectiveUrl()
Overrides:
getEffectiveUrl in class DbConfigFactoryBean

buildUrlFromAttributes

protected String buildUrlFromAttributes()

getDatabase

public String getDatabase()

setDatabase

public void setDatabase(String database)


Copyright © 2003–2014 MuleSoft, Inc.. All rights reserved.