
public class GlueBeanFactoryImpl extends Object implements GlueBeanFactory
GlueBeanFactory interface.| Modifier and Type | Field and Description | 
|---|---|
protected ApplicationContext | 
context
ApplicationContext 
 | 
static String | 
DEFAULT_FILE_NAME  | 
| Constructor and Description | 
|---|
GlueBeanFactoryImpl()
»ý¼ºÀÚ(constructor). 
 | 
GlueBeanFactoryImpl(String... configFiles)
»ý¼ºÀÚ(constructor). 
 | 
GlueBeanFactoryImpl(String configFile)
»ý¼ºÀÚ(constructor). 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
closeContext()  | 
boolean | 
containsBean(String key)
Ű °ª¿¡ ÇØ´çÇÏ´Â beanÀÇ Á¸Àç¿©ºÎ¸¦ ¹ÝȯÇÑ´Ù. 
 | 
Object | 
getBeanObject(String key)
Ű °ª¿¡ ÇØ´çÇÏ´Â Singleton ¿ÀºêÁ§Æ®¸¦ ¾ò´Â´Ù. 
 | 
<T> T | 
getBeanObject(String key,
             Class<T> requiredType)
Ű °ª¿¡ ÇØ´çÇÏ´Â Singleton ¿ÀºêÁ§Æ®¸¦ ¾ò´Â´Ù. 
 | 
ListableBeanFactory | 
getWrappedBeanFactory()
Application should not invoke this method! 
 | 
public static final String DEFAULT_FILE_NAME
protected ApplicationContext context
public GlueBeanFactoryImpl()
public GlueBeanFactoryImpl(String configFile)
configFile - public GlueBeanFactoryImpl(String... configFiles)
configFiles - public Object getBeanObject(String key)
GlueBeanFactorygetBeanObject in interface GlueBeanFactorykey - Singleton ¿ÀºêÁ§Æ®¸¦ ±¸º°ÇÒ ¼ö ÀÖ´Â À¯ÀÏÇÑ Å°public <T> T getBeanObject(String key, Class<T> requiredType)
GlueBeanFactorygetBeanObject in interface GlueBeanFactorykey - Singleton ¿ÀºêÁ§Æ®¸¦ ±¸º°ÇÒ ¼ö ÀÖ´Â À¯ÀÏÇÑ Å°requiredType - ¿ÀºêÁ§Æ® ŸÀÔpublic boolean containsBean(String key)
GlueBeanFactorycontainsBean in interface GlueBeanFactorypublic ListableBeanFactory getWrappedBeanFactory()
public void closeContext()
Copyright © 2013–2016 POSCO ICT. All rights reserved.