Commits

Anonymous committed 87df096

WW-2765 add setting for autowire=no

git-svn-id: http://svn.opensymphony.com/svn/xwork/trunk@1910e221344d-f017-0410-9bd5-d282ab1896d7

Comments (0)

Files changed (1)

src/java/com/opensymphony/xwork2/spring/SpringObjectFactory.java

                 LOG.info("Setting autowire strategy to constructor");
                 this.autowireStrategy = autowireStrategy;
                 break;
+            case AutowireCapableBeanFactory.AUTOWIRE_NO:
+                LOG.info("Setting autowire strategy to none");
+                this.autowireStrategy = autowireStrategy;
+                break;
             default:
                 throw new IllegalStateException("Invalid autowire type set");
         }