[jboss-jira] [JBoss JIRA] (WFLY-3670) Flag modules to be loaded in a distinct classloader context

David Lloyd (JIRA) issues at jboss.org
Mon Jul 28 12:13:29 EDT 2014


    [ https://issues.jboss.org/browse/WFLY-3670?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12988384#comment-12988384 ] 

David Lloyd commented on WFLY-3670:
-----------------------------------

Detecting absolute/relative paths might be problematic on Windows, and also might introduce obscure compat issues.  Another option might be to add an "absolute-resource-root" item to that descriptor.

> Flag modules to be loaded in a distinct classloader context
> -----------------------------------------------------------
>
>                 Key: WFLY-3670
>                 URL: https://issues.jboss.org/browse/WFLY-3670
>             Project: WildFly
>          Issue Type: Feature Request
>      Security Level: Public(Everyone can see) 
>            Reporter: Wolf-Dieter Fink
>            Assignee: Jason Greene
>
> For some use-cases it will be helpful to have a module in a separate classloader (as copy) if it is used from different applications.
> An example is if the module includes classes which follow the singleton pattern but the singleton should be per application instead of instance wide.
> There are two possiblities to flag that
> - within the module.xml
> - within the module reference MAIFEST or jboss-deployment-structure.xml



--
This message was sent by Atlassian JIRA
(v6.2.6#6264)


More information about the jboss-jira mailing list