polishing
This commit is contained in:
parent
cfa7216fac
commit
b2129577b9
|
|
@ -205,7 +205,7 @@ public abstract class AbstractBeanFactory extends FactoryBeanRegistrySupport imp
|
||||||
* @return an instance of the bean
|
* @return an instance of the bean
|
||||||
* @throws BeansException if the bean could not be created
|
* @throws BeansException if the bean could not be created
|
||||||
*/
|
*/
|
||||||
public <T> T getBean(String name, Class<T> requiredType, Object[] args) throws BeansException {
|
public <T> T getBean(String name, Class<T> requiredType, Object... args) throws BeansException {
|
||||||
return doGetBean(name, requiredType, args, false);
|
return doGetBean(name, requiredType, args, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -120,6 +120,7 @@ public class RootBeanDefinition extends AbstractBeanDefinition {
|
||||||
* @param autowireMode by name or type, using the constants in this interface
|
* @param autowireMode by name or type, using the constants in this interface
|
||||||
* @deprecated as of Spring 3.0, in favor of {@link #setAutowireMode} usage
|
* @deprecated as of Spring 3.0, in favor of {@link #setAutowireMode} usage
|
||||||
*/
|
*/
|
||||||
|
@Deprecated
|
||||||
public RootBeanDefinition(Class beanClass, int autowireMode) {
|
public RootBeanDefinition(Class beanClass, int autowireMode) {
|
||||||
super();
|
super();
|
||||||
setBeanClass(beanClass);
|
setBeanClass(beanClass);
|
||||||
|
|
@ -150,6 +151,7 @@ public class RootBeanDefinition extends AbstractBeanDefinition {
|
||||||
* @param pvs the property values to apply
|
* @param pvs the property values to apply
|
||||||
* @deprecated as of Spring 3.0, in favor of {@link #getPropertyValues} usage
|
* @deprecated as of Spring 3.0, in favor of {@link #getPropertyValues} usage
|
||||||
*/
|
*/
|
||||||
|
@Deprecated
|
||||||
public RootBeanDefinition(Class beanClass, MutablePropertyValues pvs) {
|
public RootBeanDefinition(Class beanClass, MutablePropertyValues pvs) {
|
||||||
super(null, pvs);
|
super(null, pvs);
|
||||||
setBeanClass(beanClass);
|
setBeanClass(beanClass);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue