public class DatabaseValidationQueryFactory
extends java.lang.Object
implements org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.FactoryBean
Constructor and Description |
---|
DatabaseValidationQueryFactory() |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
java.lang.String |
getDbUrl()
Gets the db url.
|
java.lang.Object |
getObject() |
java.lang.Class |
getObjectType() |
java.lang.String |
getValidationQuery()
Gets the validation query.
|
boolean |
isSingleton() |
void |
setDbUrl(java.lang.String dbUrl)
Sets the db url.
|
public void afterPropertiesSet() throws java.lang.Exception
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
java.lang.Exception
public java.lang.Object getObject() throws java.lang.Exception
getObject
in interface org.springframework.beans.factory.FactoryBean
java.lang.Exception
public java.lang.Class getObjectType()
getObjectType
in interface org.springframework.beans.factory.FactoryBean
public boolean isSingleton()
isSingleton
in interface org.springframework.beans.factory.FactoryBean
public java.lang.String getValidationQuery() throws org.springframework.jdbc.support.MetaDataAccessException
org.springframework.jdbc.support.MetaDataAccessException
- the meta data access exceptionpublic java.lang.String getDbUrl()
public void setDbUrl(java.lang.String dbUrl)
dbUrl
- the new db url