Java 5 code style

This commit is contained in:
Chris Beams 2008-12-12 19:03:33 +00:00
parent 5cb1b1d17c
commit b7cc5d2402
2 changed files with 3 additions and 3 deletions

View File

@ -66,7 +66,7 @@ public interface InstantiationAwareBeanPostProcessor extends BeanPostProcessor {
* @see org.springframework.beans.factory.support.AbstractBeanDefinition#hasBeanClass * @see org.springframework.beans.factory.support.AbstractBeanDefinition#hasBeanClass
* @see org.springframework.beans.factory.support.AbstractBeanDefinition#getFactoryMethodName * @see org.springframework.beans.factory.support.AbstractBeanDefinition#getFactoryMethodName
*/ */
Object postProcessBeforeInstantiation(Class beanClass, String beanName) throws BeansException; Object postProcessBeforeInstantiation(Class<?> beanClass, String beanName) throws BeansException;
/** /**
* Perform operations after the bean has been instantiated, via a constructor or factory method, * Perform operations after the bean has been instantiated, via a constructor or factory method,

View File

@ -44,7 +44,7 @@ public interface SmartInstantiationAwareBeanPostProcessor extends InstantiationA
* @return the type of the bean, or <code>null</code> if not predictable * @return the type of the bean, or <code>null</code> if not predictable
* @throws org.springframework.beans.BeansException in case of errors * @throws org.springframework.beans.BeansException in case of errors
*/ */
Class predictBeanType(Class beanClass, String beanName) throws BeansException; Class<?> predictBeanType(Class<?> beanClass, String beanName) throws BeansException;
/** /**
* Determine the candidate constructors to use for the given bean. * Determine the candidate constructors to use for the given bean.
@ -53,7 +53,7 @@ public interface SmartInstantiationAwareBeanPostProcessor extends InstantiationA
* @return the candidate constructors, or <code>null</code> if none specified * @return the candidate constructors, or <code>null</code> if none specified
* @throws org.springframework.beans.BeansException in case of errors * @throws org.springframework.beans.BeansException in case of errors
*/ */
Constructor[] determineCandidateConstructors(Class beanClass, String beanName) throws BeansException; Constructor<?>[] determineCandidateConstructors(Class<?> beanClass, String beanName) throws BeansException;
/** /**
* Obtain a reference for early access to the specified bean, * Obtain a reference for early access to the specified bean,