类 DelegatingFactoryBean
- java.lang.Object
-
- io.microsphere.spring.beans.factory.DelegatingFactoryBean
-
- 所有已实现的接口:
org.springframework.beans.factory.Aware
,org.springframework.beans.factory.BeanNameAware
,org.springframework.beans.factory.DisposableBean
,org.springframework.beans.factory.FactoryBean<java.lang.Object>
,org.springframework.beans.factory.InitializingBean
,org.springframework.context.ApplicationContextAware
public class DelegatingFactoryBean extends java.lang.Object implements org.springframework.beans.factory.FactoryBean<java.lang.Object>, org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.DisposableBean, org.springframework.context.ApplicationContextAware, org.springframework.beans.factory.BeanNameAware
FactoryBean
implementation based on delegate object that was instantiated- 从以下版本开始:
- 1.0.0
- 作者:
- Mercy
- 另请参阅:
FactoryBean
-
-
构造器概要
构造器 构造器 说明 DelegatingFactoryBean(java.lang.Object delegate)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 void
afterPropertiesSet()
void
destroy()
java.lang.Object
getObject()
java.lang.Class<?>
getObjectType()
void
setApplicationContext(org.springframework.context.ApplicationContext context)
void
setBeanName(java.lang.String name)
-
-
-
方法详细资料
-
getObject
public java.lang.Object getObject() throws java.lang.Exception
- 指定者:
getObject
在接口中org.springframework.beans.factory.FactoryBean<java.lang.Object>
- 抛出:
java.lang.Exception
-
getObjectType
public java.lang.Class<?> getObjectType()
- 指定者:
getObjectType
在接口中org.springframework.beans.factory.FactoryBean<java.lang.Object>
-
afterPropertiesSet
public void afterPropertiesSet() throws java.lang.Exception
- 指定者:
afterPropertiesSet
在接口中org.springframework.beans.factory.InitializingBean
- 抛出:
java.lang.Exception
-
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext context) throws org.springframework.beans.BeansException
- 指定者:
setApplicationContext
在接口中org.springframework.context.ApplicationContextAware
- 抛出:
org.springframework.beans.BeansException
-
setBeanName
public void setBeanName(java.lang.String name)
- 指定者:
setBeanName
在接口中org.springframework.beans.factory.BeanNameAware
-
destroy
public void destroy() throws java.lang.Exception
- 指定者:
destroy
在接口中org.springframework.beans.factory.DisposableBean
- 抛出:
java.lang.Exception
-
-