public class FixedTypeConstantFactoryBean<T> extends ConstantFactoryBean<T>
ConstantFactoryBean which always returns a fix type when getObjectType() is invoked,
regardless of the actual value| Constructor and Description |
|---|
FixedTypeConstantFactoryBean(T value,
Class<?> type) |
| Modifier and Type | Method and Description |
|---|---|
Class<?> |
getObjectType() |
getObject, isSingleton, setMuleContextpublic Class<?> getObjectType()
getObjectType in interface org.springframework.beans.factory.FactoryBean<T>getObjectType in class ConstantFactoryBean<T>Copyright © 2003–2022 MuleSoft, Inc.. All rights reserved.