mirror of
https://github.com/apache/struts.git
synced 2026-08-06 23:27:07 +00:00
WW-3714 Moves all classes from com.opensymphony.xwork2 into org.apache.struts2
This commit is contained in:
@@ -18,8 +18,8 @@
|
||||
*/
|
||||
package org.apache.struts2.cdi;
|
||||
|
||||
import com.opensymphony.xwork2.ObjectFactory;
|
||||
import com.opensymphony.xwork2.inject.Inject;
|
||||
import org.apache.struts2.ObjectFactory;
|
||||
import org.apache.struts2.inject.Inject;
|
||||
import org.apache.logging.log4j.LogManager;
|
||||
import org.apache.logging.log4j.Logger;
|
||||
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
|
||||
<struts>
|
||||
|
||||
<bean type="com.opensymphony.xwork2.ObjectFactory" name="cdi" class="org.apache.struts2.cdi.CdiObjectFactory" />
|
||||
<bean type="org.apache.struts2.ObjectFactory" name="cdi" class="org.apache.struts2.cdi.CdiObjectFactory" />
|
||||
|
||||
<!-- Make the CDI object factory the automatic default -->
|
||||
<constant name="struts.objectFactory" value="cdi" />
|
||||
|
||||
Reference in New Issue
Block a user