public class MaxValueIncrementerFactoryBean extends Object implements org.springframework.beans.factory.FactoryBean<org.springframework.jdbc.support.incrementer.DataFieldMaxValueIncrementer>, org.springframework.beans.factory.InitializingBean
DataFieldMaxValueIncrementer
in the Spring context.Constructor and Description |
---|
MaxValueIncrementerFactoryBean() |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
DataSource |
getDataSource()
Gets the
DataSource for which to retrieve the incrementer. |
String |
getIncrementerName()
Gets the name of the incrementer.
|
org.springframework.jdbc.support.incrementer.DataFieldMaxValueIncrementer |
getObject() |
Class<org.springframework.jdbc.support.incrementer.DataFieldMaxValueIncrementer> |
getObjectType() |
boolean |
isSingleton() |
void |
setDataSource(DataSource dataSource)
Setter for the
DataSource . |
void |
setIncrementerName(String incrementerName)
Setter for the incrementer name.
|
public MaxValueIncrementerFactoryBean()
public org.springframework.jdbc.support.incrementer.DataFieldMaxValueIncrementer getObject() throws Exception
getObject
in interface org.springframework.beans.factory.FactoryBean<org.springframework.jdbc.support.incrementer.DataFieldMaxValueIncrementer>
Exception
public Class<org.springframework.jdbc.support.incrementer.DataFieldMaxValueIncrementer> getObjectType()
getObjectType
in interface org.springframework.beans.factory.FactoryBean<org.springframework.jdbc.support.incrementer.DataFieldMaxValueIncrementer>
public boolean isSingleton()
isSingleton
in interface org.springframework.beans.factory.FactoryBean<org.springframework.jdbc.support.incrementer.DataFieldMaxValueIncrementer>
public void afterPropertiesSet() throws Exception
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
Exception
public DataSource getDataSource()
DataSource
for which to retrieve the incrementer.DataSource
for which to retrieve the incrementer.public void setDataSource(DataSource dataSource)
DataSource
.dataSource
- the DataSource
for which to retrieve the incrementer.public String getIncrementerName()
public void setIncrementerName(String incrementerName)
incrementerName
- the name of the incrementer.Copyright © 2005–2015 The Kuali Foundation. All rights reserved.