com.poscoict.glueframework.dao.manager
Class GlueColumnManager

java.lang.Object
  extended by com.poscoict.glueframework.dao.manager.GlueColumnManager
All Implemented Interfaces:
org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.InitializingBean

public class GlueColumnManager
extends Object
implements org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.DisposableBean

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
GlueColumnManager()
          »ý¼ºÀÚ(constructor).
 
Method Summary
 void afterPropertiesSet()
           
protected  GlueColumnDef[] createColumnDefinition(DataSource datasource, String sql, Object[] bind)
           
protected  GlueColumnDef[] createColumnDefinition(ResultSet rs)
           
 void destroy()
           
 GlueColumnDef[] getColumnDefinition(DataSource datasource, GlueQueryDefinition def, GlueParameter<?> param)
           
 GlueColumnDef[] getColumnDefinition(DataSource datasource, String querystmt, Object[] bind)
          Deprecated.  
 GlueColumnDef[] getColumnDefinition(DataSource datasource, String key, String querystmt, Object[] bind)
          Deprecated.  
 GlueColumnDef[] getColumnDefinition(String queryKey, ResultSet rs)
           
protected  GlueColumnDef[] searchColumnDefinition(DataSource datasource, String key, String sql, Object[] bind)
          Deprecated.  
 void setCacheManager(GlueCacheManager cacheManager)
          setter method for DI.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GlueColumnManager

public GlueColumnManager()
»ý¼ºÀÚ(constructor).

Method Detail

setCacheManager

public void setCacheManager(GlueCacheManager cacheManager)
setter method for DI.

Parameters:
cacheManager -

getColumnDefinition

public GlueColumnDef[] getColumnDefinition(DataSource datasource,
                                           GlueQueryDefinition def,
                                           GlueParameter<?> param)
Parameters:
datasource -
def -
param -
Returns:

getColumnDefinition

public GlueColumnDef[] getColumnDefinition(String queryKey,
                                           ResultSet rs)
Parameters:
queryKey -
rs -
Returns:

getColumnDefinition

public GlueColumnDef[] getColumnDefinition(DataSource datasource,
                                           String querystmt,
                                           Object[] bind)
Deprecated. 

Parameters:
datasource -
querystmt -
bind -
Returns:
GlueColumnDef[]

getColumnDefinition

public GlueColumnDef[] getColumnDefinition(DataSource datasource,
                                           String key,
                                           String querystmt,
                                           Object[] bind)
Deprecated. 

Parameters:
datasource -
key -
querystmt -
bind -
Returns:

searchColumnDefinition

protected GlueColumnDef[] searchColumnDefinition(DataSource datasource,
                                                 String key,
                                                 String sql,
                                                 Object[] bind)
Deprecated. 

Parameters:
datasource -
key -
bind -
Returns:
ColumnDef array

createColumnDefinition

protected GlueColumnDef[] createColumnDefinition(DataSource datasource,
                                                 String sql,
                                                 Object[] bind)
Parameters:
datasource -
key -
bind -
Returns:
ColumnDef array

createColumnDefinition

protected GlueColumnDef[] createColumnDefinition(ResultSet rs)
                                          throws SQLException
Parameters:
rs -
Returns:
ColumnDef array
Throws:
SQLException

afterPropertiesSet

public void afterPropertiesSet()
                        throws Exception
Specified by:
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
Throws:
Exception

destroy

public void destroy()
             throws Exception
Specified by:
destroy in interface org.springframework.beans.factory.DisposableBean
Throws:
Exception


Copyright © 2013–2018 POSCO ICT. All rights reserved.