|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.poscoict.glueframework.bean.GlueBeanFactoryImpl
public class GlueBeanFactoryImpl
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 ¿ÀºêÁ§Æ®¸¦ ¾ò´Â´Ù. |
|
|
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 |
---|
public static final String DEFAULT_FILE_NAME
protected org.springframework.context.ApplicationContext context
Constructor Detail |
---|
public GlueBeanFactoryImpl()
public GlueBeanFactoryImpl(String configFile)
configFile
- public GlueBeanFactoryImpl(String... configFiles)
configFiles
- Method Detail |
---|
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()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |