com.poscoict.glueframework.bean
Class GlueBeanFactoryImpl

java.lang.Object
  extended by com.poscoict.glueframework.bean.GlueBeanFactoryImpl
All Implemented Interfaces:
GlueBeanFactory

public class GlueBeanFactoryImpl
extends Object
implements GlueBeanFactory

BeanFactory ±¸Çö Class. Implementation of the GlueBeanFactory interface.


Field Summary
protected  org.springframework.context.ApplicationContext context
          ApplicationContext
static String DEFAULT_FILE_NAME
           
 
Constructor Summary
GlueBeanFactoryImpl()
          »ý¼ºÀÚ(constructor).
GlueBeanFactoryImpl(String... configFiles)
          »ý¼ºÀÚ(constructor).
GlueBeanFactoryImpl(String configFile)
          »ý¼ºÀÚ(constructor).
 
Method Summary
 void closeContext()
           
 boolean containsBean(String key)
          Å° °ª¿¡ ÇØ´çÇÏ´Â beanÀÇ Á¸Àç¿©ºÎ¸¦ ¹ÝȯÇÑ´Ù.
 Object getBeanObject(String key)
          Å° °ª¿¡ ÇØ´çÇÏ´Â Singleton ¿ÀºêÁ§Æ®¸¦ ¾ò´Â´Ù.
<T> T
getBeanObject(String key, Class<T> requiredType)
          Å° °ª¿¡ ÇØ´çÇÏ´Â Singleton ¿ÀºêÁ§Æ®¸¦ ¾ò´Â´Ù.
 org.springframework.beans.factory.ListableBeanFactory getWrappedBeanFactory()
          Application should not invoke this method!
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_FILE_NAME

public static final String DEFAULT_FILE_NAME
See Also:
Constant Field Values

context

protected org.springframework.context.ApplicationContext context
ApplicationContext

Constructor Detail

GlueBeanFactoryImpl

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


GlueBeanFactoryImpl

public GlueBeanFactoryImpl(String configFile)
»ý¼ºÀÚ(constructor).

Parameters:
configFile -

GlueBeanFactoryImpl

public GlueBeanFactoryImpl(String... configFiles)
»ý¼ºÀÚ(constructor).

Parameters:
configFiles -
Method Detail

getBeanObject

public Object getBeanObject(String key)
Description copied from interface: GlueBeanFactory
Å° °ª¿¡ ÇØ´çÇÏ´Â Singleton ¿ÀºêÁ§Æ®¸¦ ¾ò´Â´Ù.

Specified by:
getBeanObject in interface GlueBeanFactory
Parameters:
key - Singleton ¿ÀºêÁ§Æ®¸¦ ±¸º°ÇÒ ¼ö ÀÖ´Â À¯ÀÏÇÑ Å°
Returns:
Singleton ¿ÀºêÁ§Æ®

getBeanObject

public <T> T getBeanObject(String key,
                           Class<T> requiredType)
Description copied from interface: GlueBeanFactory
Å° °ª¿¡ ÇØ´çÇÏ´Â Singleton ¿ÀºêÁ§Æ®¸¦ ¾ò´Â´Ù.

Specified by:
getBeanObject in interface GlueBeanFactory
Parameters:
key - Singleton ¿ÀºêÁ§Æ®¸¦ ±¸º°ÇÒ ¼ö ÀÖ´Â À¯ÀÏÇÑ Å°
requiredType - ¿ÀºêÁ§Æ® ŸÀÔ
Returns:
Singleton ¿ÀºêÁ§Æ®

containsBean

public boolean containsBean(String key)
Description copied from interface: GlueBeanFactory
Å° °ª¿¡ ÇØ´çÇÏ´Â beanÀÇ Á¸Àç¿©ºÎ¸¦ ¹ÝȯÇÑ´Ù.

Specified by:
containsBean in interface GlueBeanFactory
Returns:

getWrappedBeanFactory

public org.springframework.beans.factory.ListableBeanFactory getWrappedBeanFactory()
Application should not invoke this method!

Returns:
Wrapped bean factory

closeContext

public void closeContext()


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