issues
Class Sjc70Tests

java.lang.Object
  extended by issues.Sjc70Tests

public class Sjc70Tests
extends Object

SJC-70 revealed the fact that AutoBean methods do not execute their method body if present. This should be the default, with the returned bean then being available for further (setter) autowiring. A number of other issues presented themselves while writing this test; their verbosely-named methods tell the tale.

Author:
Chris Beams, Jim Moore

Constructor Summary
Sjc70Tests()
           
 
Method Summary
 void autoBeanConstructorWiringWorksWhenMethodIsAbstract()
           
 void autoBeanMethodsShouldFavorMethodBodyIfPresent()
           
 void nonConfigurationAnnotatedClassDeclaringOnlyAutoBeanMethodsMustBeEligibleForProcessing()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Sjc70Tests

public Sjc70Tests()
Method Detail

autoBeanMethodsShouldFavorMethodBodyIfPresent

public void autoBeanMethodsShouldFavorMethodBodyIfPresent()

autoBeanConstructorWiringWorksWhenMethodIsAbstract

public void autoBeanConstructorWiringWorksWhenMethodIsAbstract()

nonConfigurationAnnotatedClassDeclaringOnlyAutoBeanMethodsMustBeEligibleForProcessing

public void nonConfigurationAnnotatedClassDeclaringOnlyAutoBeanMethodsMustBeEligibleForProcessing()


Copyright ? 2005-2008 Spring Framework. All Rights Reserved.