Package com.objectsql.spring
Class SpringBaseServiceImpl<T>
java.lang.Object
com.objectsql.SQLServiceImpl
com.objectsql.BaseServiceImpl<T>
com.objectsql.spring.SpringBaseServiceImpl<T>
- All Implemented Interfaces:
BaseService<T>,ServiceChangedListener<T>,SQLService,org.springframework.beans.factory.Aware,org.springframework.beans.factory.BeanFactoryAware,org.springframework.beans.factory.SmartInitializingSingleton
public class SpringBaseServiceImpl<T>
extends BaseServiceImpl<T>
implements org.springframework.beans.factory.BeanFactoryAware, org.springframework.beans.factory.SmartInitializingSingleton
-
Field Summary
Fields inherited from class com.objectsql.SQLServiceImpl
objectSQLManager, resultSetHandler, serviceClass, thisClass -
Constructor Summary
ConstructorsConstructorDescriptionSpringBaseServiceImpl(ObjectSQLManager objectSQLManager) SpringBaseServiceImpl(DataSource dataSource) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidsetBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory) Methods inherited from class com.objectsql.BaseServiceImpl
addChangedListener, addChangeListener, addDefaultListener, addQueryListener, beforeTriggerChangedListener, beforeTriggerChangedListener, changed, copyAllListeners, count, createOrUpdate, delete, deletes, deletes, deletesWithoutListener, deletesWithoutListener, deleteWithoutListener, exists, exists, get, getBaseClass, getChangedListeners, getChangeListeners, getDefaultListeners, getQueryListeners, insert, insertWithoutListener, list, list, list, list, list, list, list, list, list, listNames, query, query, query, query, queryCount, queryPage, removeChangedListener, removeChangeListener, removeDefaultListener, removeQueryListener, setChangedListeners, setChangeListeners, setDefaultListeners, setQueryListeners, tableName, triggerChangedListenerImmediately, triggerChangedListenerImmediately, triggerChangedListenerWhenTransactionFinish, triggerChangedListenerWhenTransactionFinish, triggerChangeListener, triggerChangeListener, triggerDefaultListener, update, update, updateLambdaNull, updateLambdaNullWithoutListener, updateNull, updateNullWithoutListener, updates, updates, updatesLambdaNull, updatesLambdaNull, updatesLambdaNullWithoutListener, updatesLambdaNullWithoutListener, updatesNull, updatesNull, updatesNull, updatesNull, updatesNullWithoutListener, updatesNullWithoutListener, updatesNullWithoutListener, updatesNullWithoutListener, updatesWithoutListener, updatesWithoutListener, updatesWithoutListener, updateWithoutListener, updateWithoutListenerMethods inherited from class com.objectsql.SQLServiceImpl
batchInserts, batchInserts, batchInserts, batchInserts, batchUpdates, batchUpdates, batchUpdates, batchUpdates, batchUpdates, batchUpdates, batchUpdates, batchUpdates, changeDataSource, closeConnection, columns, createOrUpdate, createOrUpdate, currentDatabaseName, currentDatabaseType, drop, execute, executeBatch, executeBatch, getConnection, getDatabaseDateTime, getDatabaseNanoTime, getDataSource, getObjectSQLManager, getOptions, getResultSetHandler, getSchema, getTableName, query, queryCount, queryMap, queryMapList, queryObject, queryObjectList, queryResult, setObjectSQLManager, setResultSetHandler, setSchema, table, table, tableColumns, tableColumns, tableColumnsClass, tableColumnsClass, tableExists, tables, tables, txCommit, txCommit, txCommit, txCommit, txCommit, txCommitMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.objectsql.BaseService
setObjectSQLManagerMethods inherited from interface com.objectsql.SQLService
batchInserts, batchInserts, batchInserts, batchInserts, batchUpdates, batchUpdates, batchUpdates, batchUpdates, batchUpdates, batchUpdates, batchUpdates, batchUpdates, changeDataSource, columns, createOrUpdate, createOrUpdate, currentDatabaseName, currentDatabaseType, drop, execute, executeBatch, executeBatch, getConnection, getDatabaseDateTime, getDatabaseNanoTime, getDataSource, getObjectSQLManager, getOptions, getSchema, getTableName, query, queryCount, queryMap, queryMapList, queryObject, queryObjectList, queryResult, setSchema, table, table, tableColumns, tableColumns, tableColumnsClass, tableColumnsClass, tableExists, tables, tables, txCommit, txCommit, txCommit, txCommit, txCommit, txCommit
-
Constructor Details
-
SpringBaseServiceImpl
public SpringBaseServiceImpl() -
SpringBaseServiceImpl
-
SpringBaseServiceImpl
-
-
Method Details
-
setBeanFactory
public void setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory) throws org.springframework.beans.BeansException - Specified by:
setBeanFactoryin interfaceorg.springframework.beans.factory.BeanFactoryAware- Throws:
org.springframework.beans.BeansException
-
afterSingletonsInstantiated
public void afterSingletonsInstantiated()- Specified by:
afterSingletonsInstantiatedin interfaceorg.springframework.beans.factory.SmartInitializingSingleton
-