polishing

This commit is contained in:
Juergen Hoeller 2010-02-01 14:51:54 +00:00
parent db71811c5a
commit 5f5e7c3262
2 changed files with 9 additions and 9 deletions

View File

@ -1,5 +1,6 @@
/* /*
* 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.
@ -21,11 +22,11 @@ import org.springframework.beans.factory.config.BeanDefinitionHolder;
import org.springframework.beans.factory.config.DependencyDescriptor; import org.springframework.beans.factory.config.DependencyDescriptor;
/** /**
* {@link AutowireCandidateResolver} implementation to use when Java version * {@link AutowireCandidateResolver} implementation to use when no annotation
* is less than 1.5 and therefore no annotation support is available. This * support is available. This implementation checks the bean definition only.
* implementation checks the bean definition only.
* *
* @author Mark Fisher * @author Mark Fisher
* @author Juergen Hoeller
* @since 2.5 * @since 2.5
* @see BeanDefinition#isAutowireCandidate() * @see BeanDefinition#isAutowireCandidate()
*/ */

View File

@ -1,5 +1,5 @@
/* /*
* 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.
@ -60,10 +60,9 @@ public interface EntityManagerFactoryInfo {
/** /**
* Return the name of the persistence unit used to create this * Return the name of the persistence unit used to create this
* EntityManagerFactory, or <code>null</code> if * EntityManagerFactory, or <code>null</code> if it is an unnamed default.
* it is an unnamed default. If <code>getPersistenceUnitInfo()</code> * <p>If <code>getPersistenceUnitInfo()</code> returns non-null, the result of
* returns non-null, the return type of <code>getPersistenceUnitName()</code> * <code>getPersistenceUnitName()</code> must be equal to the value returned by
* must be equal to the value returned by
* <code>PersistenceUnitInfo.getPersistenceUnitName()</code>. * <code>PersistenceUnitInfo.getPersistenceUnitName()</code>.
* @see #getPersistenceUnitInfo() * @see #getPersistenceUnitInfo()
* @see javax.persistence.spi.PersistenceUnitInfo#getPersistenceUnitName() * @see javax.persistence.spi.PersistenceUnitInfo#getPersistenceUnitName()