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)
GlueBeanFactory
getBeanObject
in interface GlueBeanFactory
key
- Singleton ¿ÀºêÁ§Æ®¸¦ ±¸º°ÇÒ ¼ö ÀÖ´Â À¯ÀÏÇÑ Å°public <T> T getBeanObject(String key, Class<T> requiredType)
GlueBeanFactory
getBeanObject
in interface GlueBeanFactory
key
- Singleton ¿ÀºêÁ§Æ®¸¦ ±¸º°ÇÒ ¼ö ÀÖ´Â À¯ÀÏÇÑ Å°requiredType
- ¿ÀºêÁ§Æ® ŸÀÔpublic boolean containsBean(String key)
GlueBeanFactory
containsBean
in interface GlueBeanFactory
public org.springframework.beans.factory.ListableBeanFactory getWrappedBeanFactory()
public void closeContext()
Copyright © 2013–2019 POSCO ICT. All rights reserved.