[prev in list] [next in list] [prev in thread] [next in thread] 

List:       myfaces-dev
Subject:    [jira] [Commented] (MYFACES-3856) myfaces-bundle OSGI imports/exports
From:       "Leonardo Uribe (JIRA)" <dev () myfaces ! apache ! org>
Date:       2014-02-25 5:59:19
Message-ID: JIRA.12695235.1392392686925.98747.1393307959777 () arcas
[Download RAW message or body]


    [ https://issues.apache.org/jira/browse/MYFACES-3856?page=com.atlassian.jira.plugi \
n.system.issuetabpanels:comment-tabpanel&focusedCommentId=13911273#comment-13911273 ] \


Leonardo Uribe commented on MYFACES-3856:
-----------------------------------------

I have added the 4 packaged related to serialization. Classes inside myfaces-impl \
package that are not part of the spi stuff are susceptible to change in further \
versions of myfaces, so I advise you to avoid them if you can. Precisely the idea of \
provide spi interfaces is provide a way to customize some parts of myfaces that are \
not covered by JSF spec.

> myfaces-bundle OSGI imports/exports
> -----------------------------------
> 
> Key: MYFACES-3856
> URL: https://issues.apache.org/jira/browse/MYFACES-3856
> Project: MyFaces Core
> Issue Type: Wish
> Affects Versions: 2.2.0
> Reporter: Moritz Bechler
> Attachments: MYFACES-3856-2.patch, MYFACES-3856.patch
> 
> 
> The OSGI bundle currently has very restrictive exports. This causes issues in our \
> environment (customized WAB, importing myfaces using require bundle). At least \
> everything that might need serialization in the session should be made accessible. \
> Also the CDI bean classes. It's probably easier to just export everything and maybe \
> blacklist some stuff that you really want to hide. On another note: the bundle \
> current imports javax.persistence;resolution:=optional;version="[1.0.0,2.1)
> JPA 2.1 has been out a while and shouldn't cause issues with the two used \
> annotations. Suggested patch (exporting everything) attached.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic