
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–2021 POSCO ICT. All rights reserved.