T - the type for the proxypublic class DynamicReactorFactoryBean<T extends reactor.core.dynamic.DynamicReactor>
extends java.lang.Object
implements org.springframework.beans.factory.FactoryBean<T>
FactoryBean for creating a DynamicReactor proxy from a given type
using a DynamicReactorFactory.DynamicReactorFactory| Constructor and Description |
|---|
DynamicReactorFactoryBean(reactor.core.Environment env,
java.lang.Class<T> type)
Creates a new factory bean that will use a DynamicReactorFactory configured with the
given
env and type to create its bean. |
DynamicReactorFactoryBean(reactor.core.Environment env,
java.lang.Class<T> type,
boolean singleton)
Creates a new factory bean that will use a DynamicReactorFactory configured with the
given
env and type to create its bean. |
| Modifier and Type | Method and Description |
|---|---|
T |
getObject() |
java.lang.Class<?> |
getObjectType() |
boolean |
isSingleton() |
public DynamicReactorFactoryBean(reactor.core.Environment env,
java.lang.Class<T> type)
env and type to create its bean. The bean will not be a singleton.env - The environment to usetype - The type to usepublic DynamicReactorFactoryBean(reactor.core.Environment env,
java.lang.Class<T> type,
boolean singleton)
env and type to create its bean. singleton controls
whether or not the factory creates a singleton bean.env - The environment to usetype - The type to usesingleton - true if the factory's bean should be singleton, false
otherwisepublic T getObject() throws java.lang.Exception
getObject in interface org.springframework.beans.factory.FactoryBean<T extends reactor.core.dynamic.DynamicReactor>java.lang.Exceptionpublic java.lang.Class<?> getObjectType()
getObjectType in interface org.springframework.beans.factory.FactoryBean<T extends reactor.core.dynamic.DynamicReactor>public boolean isSingleton()
isSingleton in interface org.springframework.beans.factory.FactoryBean<T extends reactor.core.dynamic.DynamicReactor>