com.poscoict.glueframework.bean
Class GlueBeanFactoryImpl

java.lang.Object
  extended by com.poscoict.glueframework.bean.GlueBeanFactoryImpl
All Implemented Interfaces:
GlueBeanFactory

public class GlueBeanFactoryImpl
extends Object
implements GlueBeanFactory

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 오브젝트를 얻는다.
<T> T
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

DEFAULT_FILE_NAME

public static final String DEFAULT_FILE_NAME
See Also:
Constant Field Values

context

protected org.springframework.context.ApplicationContext context
ApplicationContext

Constructor Detail

GlueBeanFactoryImpl

public GlueBeanFactoryImpl()
생성자(constructor).


GlueBeanFactoryImpl

public GlueBeanFactoryImpl(String configFile)
생성자(constructor).

Parameters:
configFile -

GlueBeanFactoryImpl

public GlueBeanFactoryImpl(String... configFiles)
생성자(constructor).

Parameters:
configFiles -
Method Detail

getBeanObject

public Object getBeanObject(String key)
Description copied from interface: GlueBeanFactory
키 값에 해당하는 Singleton 오브젝트를 얻는다.

Specified by:
getBeanObject in interface GlueBeanFactory
Parameters:
key - Singleton 오브젝트를 구별할 수 있는 유일한 키
Returns:
Singleton 오브젝트

getBeanObject

public <T> T getBeanObject(String key,
                           Class<T> requiredType)
Description copied from interface: GlueBeanFactory
키 값에 해당하는 Singleton 오브젝트를 얻는다.

Specified by:
getBeanObject in interface GlueBeanFactory
Parameters:
key - Singleton 오브젝트를 구별할 수 있는 유일한 키
requiredType - 오브젝트 타입
Returns:
Singleton 오브젝트

containsBean

public boolean containsBean(String key)
Description copied from interface: GlueBeanFactory
키 값에 해당하는 bean의 존재여부를 반환한다.

Specified by:
containsBean in interface GlueBeanFactory
Returns:

getWrappedBeanFactory

public org.springframework.beans.factory.ListableBeanFactory getWrappedBeanFactory()
Application should not invoke this method!

Returns:
Wrapped bean factory

closeContext

public void closeContext()


Copyright © 2013–2014 POSCO ICT SW제품기술팀. All rights reserved.