Class GlueColumnManager
java.lang.Object
com.poscoict.glueframework.dao.manager.GlueColumnManager
- All Implemented Interfaces:
DisposableBean
,InitializingBean
ColumnManager.
Bean Property
- cacheManager : (필수) GlueCacheManager 참조 bean id
예제
사용 예# 1
<bean id="columnManager" class="com.poscoict.glueframework.dao.manager.GlueColumnManager">
<property name="cacheManager" ref="cacheManager"/>
</bean>
<bean id="cacheManager" class=". . ."/>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
protected GlueColumnDef[]
protected GlueColumnDef[]
createColumnDefinition
(DataSource datasource, String sql, Object[] bind) void
destroy()
getColumnDefinition
(String queryKey, ResultSet rs) getColumnDefinition
(DataSource datasource, GlueQueryDefinition def, GlueParameter<?> param) getColumnDefinition
(DataSource datasource, String querystmt, Object[] bind) Deprecated.getColumnDefinition
(DataSource datasource, String key, String querystmt, Object[] bind) Deprecated.protected GlueColumnDef[]
searchColumnDefinition
(DataSource datasource, String key, String sql, Object[] bind) Deprecated.void
setCacheManager
(GlueCacheManager cacheManager) setter method for DI.
-
Constructor Details
-
GlueColumnManager
public GlueColumnManager()생성자(constructor).
-
-
Method Details
-
setCacheManager
setter method for DI.- Parameters:
cacheManager
-
-
getColumnDefinition
public GlueColumnDef[] getColumnDefinition(DataSource datasource, GlueQueryDefinition def, GlueParameter<?> param) - Parameters:
datasource
-def
-param
-- Returns:
- array of GlueColumnDef
-
getColumnDefinition
- Parameters:
queryKey
-rs
-- Returns:
- array of GlueColumnDef
-
getColumnDefinition
Deprecated.- Parameters:
datasource
-querystmt
-bind
-- Returns:
- array of GlueColumnDef
-
getColumnDefinition
public GlueColumnDef[] getColumnDefinition(DataSource datasource, String key, String querystmt, Object[] bind) Deprecated.- Parameters:
datasource
-key
-querystmt
-bind
-- Returns:
- array of GlueColumnDef
-
searchColumnDefinition
protected GlueColumnDef[] searchColumnDefinition(DataSource datasource, String key, String sql, Object[] bind) Deprecated.- Parameters:
datasource
-key
-bind
-- Returns:
- array of GlueColumnDef
-
createColumnDefinition
- Parameters:
datasource
-sql
-bind
-- Returns:
- array of GlueColumnDef
-
createColumnDefinition
- Parameters:
rs
-- Returns:
- array of GlueColumnDef
- Throws:
SQLException
-
afterPropertiesSet
- Specified by:
afterPropertiesSet
in interfaceInitializingBean
- Throws:
Exception
-
destroy
- Specified by:
destroy
in interfaceDisposableBean
- Throws:
Exception
-