Interface FactoryBean<T>
-
- Type Parameters:
T
- the generic type
- All Known Implementing Classes:
AccessLogHandlerFactoryBean
,BasePathFactoryBean
,CommonsMultipartFormDataParserFactoryBean
,CurrentActivityDataFactoryBean
,CurrentTransletFactoryBean
,EncodingHandlerFactoryBean
,FreeMarkerConfigurationFactoryBean
,InMemoryMultipartFormDataParserFactoryBean
,PebbleEngineFactoryBean
,QuartzSchedulerFactoryBean
,ServletHandlerFactoryBean
,SqlSessionFactoryBean
public interface FactoryBean<T>
The Interface FactoryBean.- Since:
- 2015. 4. 2.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
FACTORY_METHOD_NAME
-
-
-
Field Detail
-
FACTORY_METHOD_NAME
static final java.lang.String FACTORY_METHOD_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
getObject
@AvoidAdvice T getObject() throws java.lang.Exception
Return an instance (possibly shared or independent) of the object managed by this factory. As with a BeanFactory, this allows support for both the Singleton and Prototype design pattern.- Returns:
- an instance of the bean (can be null)
- Throws:
java.lang.Exception
- in case of creation errors
-
-