|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SpringContext
The context containing all the necessary spring information.
| Method Summary | |
|---|---|
void |
addBeanPostProcessor(java.lang.String key,
Component bpp)
Notify the framework there is a BeanPostProcessor! |
Component |
cast(java.lang.Class target_type,
Component c)
Convert a Component so that it instantiates objects of a certain type. |
java.lang.Object |
convert(java.lang.Class target_type,
java.lang.Object val)
Convert a an object to a target type. |
org.springframework.context.ApplicationContext |
getApplicationContext()
Get the spring BeanFactory object. |
java.lang.String |
getId()
Get the id used to declare this component. |
SingletonMode |
getSingleton()
Get the configured singleton mode. |
java.lang.String |
getTagName()
Get the tag name. |
boolean |
isGloballyDefined()
Is the tag defined globally? |
boolean |
isSingletonAttributeSet()
Is the singleton mode configured? |
void |
manageDisposableBean(org.springframework.beans.factory.DisposableBean db)
Manage the lifecycle of a Disposable Bean. |
| Method Detail |
|---|
java.lang.String getTagName()
java.lang.String getId()
org.springframework.context.ApplicationContext getApplicationContext()
void manageDisposableBean(org.springframework.beans.factory.DisposableBean db)
db - the disposable bean.
void addBeanPostProcessor(java.lang.String key,
Component bpp)
key - the key of the bean.bpp - the component for the BeanPostProcessor.
java.lang.Object convert(java.lang.Class target_type,
java.lang.Object val)
target_type - the desired type.val - the object to be converted.
Component cast(java.lang.Class target_type,
Component c)
target_type - the desired instance type.c - the Component to be converted.
SingletonMode getSingleton()
boolean isSingletonAttributeSet()
boolean isGloballyDefined()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||