org.kuali.rice.krad.data.platform
Class MaxValueIncrementerFactoryBean

java.lang.Object
  extended by org.kuali.rice.krad.data.platform.MaxValueIncrementerFactoryBean
All Implemented Interfaces:
org.springframework.beans.factory.FactoryBean<org.springframework.jdbc.support.incrementer.DataFieldMaxValueIncrementer>, org.springframework.beans.factory.InitializingBean

public class MaxValueIncrementerFactoryBean
extends Object
implements org.springframework.beans.factory.FactoryBean<org.springframework.jdbc.support.incrementer.DataFieldMaxValueIncrementer>, org.springframework.beans.factory.InitializingBean

A factory bean for putting a DataFieldMaxValueIncrementer in the Spring context.

Author:
Kuali Rice Team (rice.collab@kuali.org)

Constructor Summary
MaxValueIncrementerFactoryBean()
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MaxValueIncrementerFactoryBean

public MaxValueIncrementerFactoryBean()
Method Detail

getObject

public org.springframework.jdbc.support.incrementer.DataFieldMaxValueIncrementer getObject()
                                                                                    throws Exception

Specified by:
getObject in interface org.springframework.beans.factory.FactoryBean<org.springframework.jdbc.support.incrementer.DataFieldMaxValueIncrementer>
Throws:
Exception

getObjectType

public Class<org.springframework.jdbc.support.incrementer.DataFieldMaxValueIncrementer> getObjectType()

Specified by:
getObjectType in interface org.springframework.beans.factory.FactoryBean<org.springframework.jdbc.support.incrementer.DataFieldMaxValueIncrementer>

isSingleton

public boolean isSingleton()

Specified by:
isSingleton in interface org.springframework.beans.factory.FactoryBean<org.springframework.jdbc.support.incrementer.DataFieldMaxValueIncrementer>

afterPropertiesSet

public void afterPropertiesSet()
                        throws Exception

Specified by:
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
Throws:
Exception

getDataSource

public DataSource getDataSource()
Gets the DataSource for which to retrieve the incrementer.

Returns:
the DataSource for which to retrieve the incrementer.

setDataSource

public void setDataSource(DataSource dataSource)
Setter for the DataSource.

Parameters:
dataSource - the DataSource for which to retrieve the incrementer.

getIncrementerName

public String getIncrementerName()
Gets the name of the incrementer.

Returns:
the name of the incrementer.

setIncrementerName

public void setIncrementerName(String incrementerName)
Setter for the incrementer name.

Parameters:
incrementerName - the name of the incrementer.


Copyright © 2005–2014 The Kuali Foundation. All rights reserved.