提交 b53ccb38 编写于 作者: J Juergen Hoeller

widened FactoryBean's "getObjectType" signature to return any Class<?> (SPR-6692)

上级 8ab9da44
/* /*
* Copyright 2002-2008 the original author or authors. * Copyright 2002-2010 the original author or authors.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
...@@ -90,7 +90,7 @@ public interface FactoryBean<T> { ...@@ -90,7 +90,7 @@ public interface FactoryBean<T> {
* or <code>null</code> if not known at the time of the call * or <code>null</code> if not known at the time of the call
* @see ListableBeanFactory#getBeansOfType * @see ListableBeanFactory#getBeansOfType
*/ */
Class<? extends T> getObjectType(); Class<?> getObjectType();
/** /**
* Is the object managed by this factory a singleton? That is, * Is the object managed by this factory a singleton? That is,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册