T - the type of bean producedpublic class ScopedFactoryBeanDecorator<T> extends java.lang.Object implements ScopedFactoryBean<T>
ScopedFactoryBeans to enhance their behaviour.| Modifier and Type | Method and Description |
|---|---|
static <T> ScopedFactoryBeanDecorator<T> |
decorate(ScopedFactoryBean<T> scopedFactoryBean) |
java.lang.Class<T> |
getBeanType()
Returns the type of the bean produced by this
ScopedFactoryBean. |
java.lang.String |
getScope()
Returns the name of the scope, where the bean produced by this
ScopedFactoryBean lives in. |
T |
produceBean()
Produces a new bean of type
T corresponding to the given Activity. |
ScopedFactoryBeanDecorator<T> |
withPostProcessing(java8.util.function.Function<T,T> postProcessing) |
public static <T> ScopedFactoryBeanDecorator<T> decorate(ScopedFactoryBean<T> scopedFactoryBean)
public java.lang.String getScope()
ScopedFactoryBeanScopedFactoryBean lives in.getScope in interface ScopedFactoryBean<T>public java.lang.Class<T> getBeanType()
ScopedFactoryBeanScopedFactoryBean.getBeanType in interface ScopedFactoryBean<T>public T produceBean()
ScopedFactoryBeanT corresponding to the given Activity.produceBean in interface ScopedFactoryBean<T>T corresponding to the given Activitypublic ScopedFactoryBeanDecorator<T> withPostProcessing(java8.util.function.Function<T,T> postProcessing)