Ales Justin [http://community.jboss.org/people/alesj] created the discussion

"Re: EJB's and classloading"

To view the discussion, visit: http://community.jboss.org/message/578629#578629

--------------------------------------------------------------
> > Now I think the question is: how can I define classloading isolation in 
> > application.ear on a per-library basis. So that I can isolate the Seam 
> > libraries and stuff, but not the EJB's. This would resolve this situation, 
> > am I right?
> I should be doable, yes.
> Let me think about this, and get back to you.
There is a excludedExportPackages string and excludedExport filter on 
ClassLoadingMetaData -- class representation of jboss-classloading.xml.
As you can deduct from the name, it's unfortunately just the other way around 
as we need it, it lists excludes instead of includes.

Unless you can somehow list all excludes (all, but that mbean' package name),
you will need to hack this thing programmatically (otherwise you could use 
jboss-classloading.xml),
meaning you will have to implement a deployer which creates proper 
ClassLoadingMetaData instance,
and attaches it to App.ear' DeploymentUnit instance.
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/578629#578629]

Start a new discussion in JBoss Microcontainer at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2114]

_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to