You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org> on 2009/09/03 12:51:41 UTC
[jira] Commented: (MNG-4194) API to safely release of plugin realms
[ http://jira.codehaus.org/browse/MNG-4194?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=189671#action_189671 ]
Benjamin Bentmann commented on MNG-4194:
----------------------------------------
Could you provide some more details on the desired API, e.g. pseudo-code that illustrates its intended usage and the required methods?
> API to safely release of plugin realms
> --------------------------------------
>
> Key: MNG-4194
> URL: http://jira.codehaus.org/browse/MNG-4194
> Project: Maven 2
> Issue Type: Improvement
> Components: Class Loading
> Affects Versions: 3.0-alpha-2
> Reporter: Igor Fedorenko
> Fix For: 3.0-alpha-5
>
>
> This is a followup request for MNG-4041.
> PluginManager and Plugin cache should allow safe release of plugin realms, that is, ability for embedding application, like Eclipse or Netbeans, to determine if any given plugin realm is currently being used and remove unused realms from PluginCache in a thread-safe manner.
> I see at least two cases when it is not safe to release a plugin realm
> * Regular plugin realm during mojo execution.
> * Extensions plugin realm for as long as the referencing project(s) are in the reactor or otherwise known to the embedding application.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira