[
https://issues.apache.org/jira/browse/GERONIMO-6209?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13140534#comment-13140534
]
Jarek Gawor commented on GERONIMO-6209:
---------------------------------------
I committed the initial code in revision 1195653.
The value returned by TransformerAgent.isRedefineClassesSupported() indicates
whether or not class swap is supported. That usually just queries the JVM
(Instrumentation.isRedefineClassesSupported()) to see if class redefinition is
supported. Since most JVMs do support it and I could not find an easy way to
disable class redefinition support I added a
"org.apache.geronimo.transformer.redefineClasses" system property that can be
used to disable it. That is, the TransformerAgent.isRedefineClassesSupported()
will return false even though Instrumentation.isRedefineClassesSupported() can
return true.
> Support for class hot swap for OSGi applications
> ------------------------------------------------
>
> Key: GERONIMO-6209
> URL: https://issues.apache.org/jira/browse/GERONIMO-6209
> Project: Geronimo
> Issue Type: New Feature
> Security Level: public(Regular issues)
> Components: Aries
> Affects Versions: 3.0
> Reporter: Jarek Gawor
> Assignee: Jarek Gawor
>
> Provide ability to perform class hot swap for bundles in OSGi applications.
> The hot swapped classes / changes made should be persisted so they are not
> lost when the application or the server is restarted.
> This feature will also require supporting changes in the Eclipse plug-in to
> take advantage of the new functionality.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira