
public class GlueBeanFactoryImpl extends Object implements GlueBeanFactory
GlueBeanFactory interface.| Modifier and Type | Field and Description |
|---|---|
protected org.springframework.context.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 ¿ÀºêÁ§Æ®¸¦ ¾ò´Â´Ù.
|
org.springframework.beans.factory.ListableBeanFactory |
getWrappedBeanFactory()
Application should not invoke this method!
|
public static final String DEFAULT_FILE_NAME
protected org.springframework.context.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 org.springframework.beans.factory.ListableBeanFactory getWrappedBeanFactory()
public void closeContext()
Copyright © 2013–2019 POSCO ICT. All rights reserved.