Details
-
Task
-
Status: Open
-
Trivial
-
Resolution: Unresolved
-
1.0.1, 1.1
-
None
Description
Sometimes it's nice to be able to configure XWork programmatically, without having to put an xwork.xml file on the classpath (for example in unit tests) This can already be achieved without having to jump through hoops, but changing the visibility of "runtimeConfiguration" in the DefaultConfiguration class from private to protected would be useful, reducing setup to:
Configuration config = new DefaultConfiguration() {
public synchronized void reload() throws ConfigurationException
};
and then adding the various packages.
Attachments
Issue Links
- is related to
-
XW-1065 Replacing a result-type defined in xwork.xml programmatically doesn't work
- Open