Package ru.cg.webbpm.modules.inject
Class AbstractInjectSupportBean
java.lang.Object
ru.cg.webbpm.modules.inject.AbstractInjectSupportBean
- All Implemented Interfaces:
org.springframework.beans.factory.Aware
,org.springframework.context.ApplicationContextAware
,InjectSupportBean
- Direct Known Subclasses:
PageContext
,ProcessContext
public class AbstractInjectSupportBean
extends Object
implements InjectSupportBean, org.springframework.context.ApplicationContextAware
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected <T> T
protected <T> T
createBean
(T bean) protected <T> T
org.springframework.context.ApplicationContext
protected <T> T
org.springframework.beans.factory.config.AutowireCapableBeanFactory
void
setApplicationContext
(org.springframework.context.ApplicationContext applicationContext)
-
Constructor Details
-
AbstractInjectSupportBean
public AbstractInjectSupportBean()
-
-
Method Details
-
getApplicationContext
public org.springframework.context.ApplicationContext getApplicationContext()- Specified by:
getApplicationContext
in interfaceInjectSupportBean
-
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException - Specified by:
setApplicationContext
in interfaceorg.springframework.context.ApplicationContextAware
- Throws:
org.springframework.beans.BeansException
-
getBeanFactory
public org.springframework.beans.factory.config.AutowireCapableBeanFactory getBeanFactory()- Specified by:
getBeanFactory
in interfaceInjectSupportBean
-
fromJson
-
getBean
-
autowire
-
createBean
protected <T> T createBean(T bean)
-