You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "Shawn Jiang (JIRA)" <ji...@apache.org> on 2011/05/31 11:13:47 UTC
[jira] [Commented] (OPENEJB-1322) BundleFinderFactory needs a
better way to filter scans
[ https://issues.apache.org/jira/browse/OPENEJB-1322?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13041493#comment-13041493 ]
Shawn Jiang commented on OPENEJB-1322:
--------------------------------------
Currently, the module.getJarLocation() will point to the copied jar/war instead of ear location. As a result, the location filter will never kick in. war/jar in the same ear will share the whole ear bundle classpath scan scope.
I suggest to add a isStandalone boolean field to EJBModule so that the client side could set the state to indicate if the ejbmodule is part of the ear.
> BundleFinderFactory needs a better way to filter scans
> ------------------------------------------------------
>
> Key: OPENEJB-1322
> URL: https://issues.apache.org/jira/browse/OPENEJB-1322
> Project: OpenEJB
> Issue Type: Bug
> Components: osgi
> Affects Versions: 4.0
> Reporter: David Jencks
> Assignee: David Jencks
> Fix For: 4.0
>
>
> BundleFinderFactory needs to be able to look at anything in the bundle classpath of a single module such as a war but needs to be able to look in only one module at a time in an ear where everything is mushed together into one bundle. I'm not sure there is currently enough information in DeploymentModule to adequately do this.
> Right now we need to look at all of a war file with ejbs inside. I've hacked up something that doesn't install a filter if the jarLocation ends in ".war".
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira