struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Musachy Barroso (JIRA)" <j...@apache.org>
Subject [jira] Created: (WW-3183) Add class reloading to the Spring plugin
Date Sun, 12 Jul 2009 18:04:59 GMT
Add class reloading to the Spring plugin
----------------------------------------

                 Key: WW-3183
                 URL: https://issues.apache.org/struts/browse/WW-3183
             Project: Struts 2
          Issue Type: New Feature
          Components: Other
    Affects Versions: 2.1.7
            Reporter: Musachy Barroso
            Assignee: Musachy Barroso
            Priority: Minor
             Fix For: 2.1.8


To use this feature, follow these steps:
    * Set "struts.devMode" to "true"
    * Set "struts.class.reloading.watchList" to a comma separated list of directories, or
jar files (absolute paths)
    * Add this to web.xml:

        <context-param>
             <param-name>contextClass</param-name>
             <param-value>org.apache.struts2.spring.ClassReloadingXMLWebApplicationContext</param-value>
         </context-param>

Notes: 
* Some spring classes were overwritten to avoid java class/constructor cache.
* This will only work when "devMode" is set to true, and *should not* be used in production
environments as it will slow down the application.
* This feature is experimental
* When a directory is specified in "struts.class.reloading.watchList", its sub directories
will also be watched
        



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message