Java 5 code style

master
Chris Beams 16 years ago
parent 5cb1b1d17c
commit b7cc5d2402
  1. 2
      org.springframework.beans/src/main/java/org/springframework/beans/factory/config/InstantiationAwareBeanPostProcessor.java
  2. 4
      org.springframework.beans/src/main/java/org/springframework/beans/factory/config/SmartInstantiationAwareBeanPostProcessor.java

@ -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,

@ -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,

Loading…
Cancel
Save